Add Archway Light Automations

This commit is contained in:
2023-11-30 16:55:52 -08:00
parent a308a9d423
commit 6dbd89b476

View File

@@ -50,6 +50,21 @@ automation:
- switch.christmas_lights_shrubs
- switch.christmas_lights_front
- alias: Holiday - Turn On Archway Lights at Sunset
trigger:
- platform: sun
event: sunset
condition:
- "{{ is_state('binary_sensor.is_christmas_season', 'on') }}"
action:
- service: light.turn_on
data:
brightness_pct: 100
target:
entity_id:
- light.arches_east
- light.arches_west
- alias: Holiday - Turn On Christmas Lights in Morning
trigger:
- platform: time
@@ -64,6 +79,21 @@ automation:
- switch.christmas_lights_shrubs
- switch.christmas_lights_front
- alias: Holiday - Turn On Archway Lights in Morning
trigger:
- platform: time
at: '04:30:00'
condition:
- "{{ is_state('binary_sensor.is_christmas_season', 'on') }}"
action:
- service: light.turn_on
data:
brightness_pct: 100
target:
entity_id:
- light.arches_east
- light.arches_west
- alias: Holiday - Turn Off Christmas Lights at Midnight
trigger:
- platform: time
@@ -76,6 +106,17 @@ automation:
- switch.christmas_lights_shrubs
- switch.christmas_lights_front
- alias: Holiday - Turn Off Archway Lights at Midnight
trigger:
- platform: time
at: '00:00:00'
action:
- service: light.turn_off
target:
entity_id:
- light.arches_east
- light.arches_west
- alias: Holiday - Turn Off Christmas Lights at Sunrise
trigger:
- platform: sun
@@ -88,3 +129,15 @@ automation:
- switch.christmas_lights_roof
- switch.christmas_lights_shrubs
- switch.christmas_lights_front
- alias: Holiday - Turn Off Archway Lights at Sunrise
trigger:
- platform: sun
event: sunrise
offset: '-00:30:00'
action:
- service: light.turn_off
target:
entity_id:
- light.arches_east
- light.arches_west