Add Archway Light Automations
This commit is contained in:
@@ -50,6 +50,21 @@ automation:
|
|||||||
- switch.christmas_lights_shrubs
|
- switch.christmas_lights_shrubs
|
||||||
- switch.christmas_lights_front
|
- 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
|
- alias: Holiday - Turn On Christmas Lights in Morning
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
@@ -64,6 +79,21 @@ automation:
|
|||||||
- switch.christmas_lights_shrubs
|
- switch.christmas_lights_shrubs
|
||||||
- switch.christmas_lights_front
|
- 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
|
- alias: Holiday - Turn Off Christmas Lights at Midnight
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
@@ -76,6 +106,17 @@ automation:
|
|||||||
- switch.christmas_lights_shrubs
|
- switch.christmas_lights_shrubs
|
||||||
- switch.christmas_lights_front
|
- 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
|
- alias: Holiday - Turn Off Christmas Lights at Sunrise
|
||||||
trigger:
|
trigger:
|
||||||
- platform: sun
|
- platform: sun
|
||||||
@@ -88,3 +129,15 @@ automation:
|
|||||||
- switch.christmas_lights_roof
|
- switch.christmas_lights_roof
|
||||||
- switch.christmas_lights_shrubs
|
- switch.christmas_lights_shrubs
|
||||||
- switch.christmas_lights_front
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user