Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions[bot]
4faae0cf2c Update HA version badge to 2025.11.3 2025-11-29 17:20:00 +00:00
Carlo Costanzo
bbcc77673d Refactor automation configurations and enhance living room lighting scenes
- Removed redundant conditions from late night outside helper automation.
- Added a new automation for living room lighting that triggers a red scene when entry points are activated or garage doors are opened.
- Updated TV time automation to streamline triggers and removed the associated input boolean.
- Adjusted living room scene settings to ensure lights are on with specified RGB colors and brightness levels.
- Cleaned up trigger booleans by removing the now unnecessary TV time boolean.
2025-11-29 12:19:38 -05:00
7 changed files with 46 additions and 53 deletions

View File

@@ -24,17 +24,6 @@
- service: scene.turn_on
entity_id: scene.front_full_brightness
- choose:
- conditions: >
{{ states.group.entry_points.state == 'on' or
states.group.garage_doors.state != 'closed' }}
sequence:
- service: scene.turn_on
entity_id: scene.Red_living_Room
default:
- service: scene.turn_on
entity_id: scene.tv_time
- service: >
{% set hour=states("sensor.time").split(':')[0] | int %}
{% if hour >= 5 and hour <= 9 and states.group.bed.state == 'on'%}
@@ -50,14 +39,3 @@
- wait_template: "{{ is_state('group.entry_points', 'off') }}"
- wait_template: "{{ is_state('group.garage_doors', 'closed') }}"
- service: script.monthly_color_scene
- choose:
- conditions: >
{{ states.group.entry_points.state == 'on' or
states.group.garage_doors.state != 'closed' }}
sequence:
- service: scene.turn_on
entity_id: scene.Red_living_Room
default:
- service: scene.turn_on
entity_id: scene.tv_time

View File

@@ -77,3 +77,35 @@
data:
kelvin: 2700
brightness: 200
- alias: 'Living Room Red on Entry/Garage Open'
id: living_room_red_on_entry_open
mode: restart
variables:
was_off: "{{ is_state('light.living_room_lights', 'off') }}"
trigger:
- platform: state
entity_id: group.entry_points
to: 'on'
- platform: state
entity_id: group.garage_doors
from: 'closed'
to: 'open'
action:
- service: scene.turn_on
target:
entity_id: scene.red_living_room
- wait_for_trigger:
- platform: state
entity_id: group.entry_points
to: 'off'
- platform: state
entity_id: group.garage_doors
to: 'closed'
timeout: "01:00:00"
- choose:
- conditions: "{{ was_off }}"
sequence:
- service: light.turn_off
target:
entity_id: light.living_room_lights

View File

@@ -1,26 +1,15 @@
######################################################################
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# TV Time at sunset or 8pm. Whichever is later.
# config/automation/tv_time_on_and_off.yaml
# TV Time: soften house lights when living room media starts after 8pm/sunset.
# https://github.com/CCOSTAN/Home-AssistantConfig
######################################################################
- alias: TV Time
id: 6e59d312-661f-40da-bb08-416f2e86b566
trigger:
- platform: state
entity_id: input_boolean.TV_time
to: 'on'
from: 'off'
- platform: state
entity_id: sun.sun
to: 'below_horizon'
from: 'above_horizon'
- platform: state
entity_id: media_player.living_room_ultra
to: 'playing'
- platform: time
at: '20:00:00'
condition:
condition: and
conditions:
@@ -40,8 +29,6 @@
state: 'playing'
action:
- service: input_boolean.turn_off
entity_id: input_boolean.tv_time
- service: light.turn_off
entity_id:

View File

@@ -6,10 +6,6 @@ meal_time:
name: Meal Time
initial: off
tv_time:
name: TV Time
initial: off
work:
name: Work
initial: off

View File

@@ -352,10 +352,6 @@ automation:
entity_id: group.family
to: not_home
for: 00:05:00
- platform: state
entity_id: input_boolean.tv_time
to: 'on'
from: 'off'
condition:
condition: or

View File

@@ -1,14 +1,18 @@
- name: TV Time
entities:
light.m1_front_left:
state: off
state: on
rgb_color: &gold [255,223,0]
brightness: 100
light.m1_front_right:
state: off
state: on
rgb_color: *gold
brightness: 100
light.main_slider:
state: off
light.m1_back_right:
state: on
rgb_color: &gold [255,223,0]
rgb_color: *gold
brightness: 50
light.m1_back_left:
state: on

View File

@@ -1,13 +1,13 @@
<svg width="68.5" height="20" viewBox="0 0 685 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.11.3">
<title>2025.11.3</title>
<linearGradient id="nxtrO" x2="0" y2="100%">
<linearGradient id="ofSVs" x2="0" y2="100%">
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="iKMAl"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#iKMAl)">
<mask id="VJRcB"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#VJRcB)">
<rect width="685" height="200" fill="#08C" x="0"/>
<rect width="685" height="200" fill="url(#nxtrO)"/>
<rect width="685" height="200" fill="url(#ofSVs)"/>
</g>
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
<text x="65" y="148" textLength="570" fill="#000" opacity="0.25">2025.11.3</text>

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 815 B