39 lines
1.1 KiB
YAML
Raw Normal View History

2016-10-19 17:47:13 +00:00
###################################
## Holiday Lights on/off with IFTTT/Alexa support
###################################
2016-10-19 17:38:48 +00:00
- alias: 'Holiday Stuff on'
trigger:
- platform: sun
event: sunset
- platform: event
event_type: halloween_lights_on
action:
- service: switch.turn_on
2016-10-20 21:39:40 +00:00
entity_id: switch.halloween_lights_den
- delay: 00:00:30
- service: switch.turn_on
entity_id: switch.halloween_lights_dining_room
2016-10-26 16:51:34 +00:00
- delay: 00:00:30
- service: switch.turn_on
entity_id: switch.pumpkin_lights
2016-10-20 21:39:40 +00:00
2016-10-19 17:38:48 +00:00
- alias: 'Holiday Stuff off'
trigger:
- platform: sun
event: sunrise
2016-10-20 21:39:40 +00:00
offset: '-03:30:00'
2016-10-19 17:38:48 +00:00
- platform: event
event_type: halloween_lights_off
action:
2016-10-20 21:39:40 +00:00
- service: switch.turn_off
entity_id: switch.halloween_lights_den
- delay: 00:00:30
- service: switch.turn_off
entity_id: switch.halloween_lights_dining_room
2016-10-26 16:51:34 +00:00
- delay: 00:00:30
- service: switch.turn_off
entity_id: switch.pumpkin_lights
2016-10-19 17:38:48 +00:00