Instantly share code, notes, and snippets.

Embed
What would you like to do?
bedtime:
alias: Bedtime
sequence:
- service: script.turn_on
data:
entity_id: script.air_on_check
- delay: 00:00:01
- service: switch.turn_on
entity_id:
- switch.bedroom_lamp
- switch.bedroom_fan
- service: script.turn_on
data:
entity_id: script.television_on_check
- delay: 00:00:01
- service: switch.turn_off
entity_id:
- switch.entry
- switch.entry_fan
- switch.black_fan
- delay:
minutes: 2
- service: switch.turn_off
entity_id:
- switch.lamp
- switch.switch.fish_tank_light
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment