mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-03 03:21:47 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user