Instantly share code, notes, and snippets.

Embed
What would you like to do?
bedtime:
alias: Bedtime
sequence:
- service: homeassistant.turn_off
entity_id:
- switch.tv
- switch.air_conditioner
- 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: switch.turn_off
entity_id:
- switch.entry
- switch.entry_fan
- switch.black_fan
- wait_template: "{{is_state('binary_sensor.door_window_sensor_158d0001e59f8e', 'off')}}"
- service: homeassistant.turn_off
entity_id:
- light.lamp
- switch.fish_tank_light
- switch.christmas_tree
- service: homeassistant.turn_on
entity_id:
- automation.night_living_room
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment