Skip to content

Instantly share code, notes, and snippets.

@smarthomehobby
Created June 10, 2018 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarthomehobby/f57e00f3d7ce69803db69df20d16bda1 to your computer and use it in GitHub Desktop.
Save smarthomehobby/f57e00f3d7ce69803db69df20d16bda1 to your computer and use it in GitHub Desktop.
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