mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-03 19:41: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.
42 lines
1.2 KiB
YAML
Executable File
42 lines
1.2 KiB
YAML
Executable File
###################################
|
|
## Late Night lights Section
|
|
# @CCOSTAN
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
###################################
|
|
- alias: 'Late Night Helper outside'
|
|
id: 14115d72-6bea-41c1-8411-1eaf41b4ef2b
|
|
trigger:
|
|
- platform: state
|
|
entity_id: group.garage_doors
|
|
- platform: state
|
|
entity_id: binary_sensor.mcu1_gpio5 #front door
|
|
- platform: state
|
|
entity_id: sun.sun
|
|
to: 'below_horizon'
|
|
from: 'above_horizon'
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: 'below_horizon'
|
|
|
|
action:
|
|
- service: scene.turn_on
|
|
entity_id: scene.front_full_brightness
|
|
|
|
- service: >
|
|
{% set hour=states("sensor.time").split(':')[0] | int %}
|
|
{% if hour >= 5 and hour <= 9 and states.group.bed.state == 'on'%}
|
|
switch.turn_off
|
|
{% else %}
|
|
switch.turn_on
|
|
{% endif %}
|
|
entity_id:
|
|
- group.master_bathroom_accents
|
|
- switch.back_landscaping
|
|
- switch.front_door_outlet
|
|
- switch.foyer_outlet
|
|
- wait_template: "{{ is_state('group.entry_points', 'off') }}"
|
|
- wait_template: "{{ is_state('group.garage_doors', 'closed') }}"
|
|
- service: script.monthly_color_scene
|