mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-03 03:21:47 +00:00
- 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.
43 lines
1.1 KiB
YAML
Executable File
43 lines
1.1 KiB
YAML
Executable File
######################################################################
|
|
# 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: media_player.living_room_ultra
|
|
to: 'playing'
|
|
condition:
|
|
condition: and
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.family
|
|
state: home
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: 'below_horizon'
|
|
- condition: state
|
|
entity_id: input_boolean.guest_mode
|
|
state: 'off'
|
|
- condition: time
|
|
after: '20:00:00'
|
|
- condition: state
|
|
entity_id: media_player.living_room_ultra
|
|
state: 'playing'
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
entity_id:
|
|
- light.dinette_lights
|
|
- light.kitchen_lights
|
|
|
|
- service: switch.turn_on
|
|
entity_id: group.kitchen_Accents
|
|
|
|
- service: scene.turn_on
|
|
entity_id: scene.tv_time
|