diff --git a/packages/holiday/holiday.yaml b/packages/holiday/holiday.yaml index 55d626d..1ea1fb9 100644 --- a/packages/holiday/holiday.yaml +++ b/packages/holiday/holiday.yaml @@ -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