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
- service: homeassistant.turn_on
entity_id: light.bedroom_lamp
data:
brightness: 5
- service: homeassistant.turn_on
entity_id: switch.bedroom_fan
- service: homeassistant.turn_on
entity_id: group.evening_night_light
- service: script.turn_on
data:
entity_id: script.television_on_check
- service: switch.turn_off
entity_id:
- switch.entry
- switch.entry_fan
- switch.black_fan
- wait_template: "{{is_state('binary_sensor.door_window_sensor_158d0001ab573f', 'off')}}"
- service: homeassistant.turn_off
entity_id:
- switch.lamp
- switch.switch.fish_tank_light
- service: homeassistant.turn_on
entity_id:
- automation.morning_wake_up_routine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment