Last active
February 9, 2021 22:53
-
-
Save LarsBergqvist/bfc278706f170dcb019b1d5e87cc0a26 to your computer and use it in GitHub Desktop.
Indoor light group and good night automation rule for Home Assistant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group: | |
indoor_lights: | |
name: Indoor lights | |
entities: | |
- switch.window_lights_downstairs | |
- switch.wall_lights_downstairs | |
- switch.window_lights_upstairs | |
- switch.floor_light_upstairs | |
automation: | |
- alias: Turn off indoor lights at night | |
initial_state: True | |
hide_entity: False | |
trigger: | |
platform: time | |
at: '23:00:00' | |
action: | |
service: switch.turn_off | |
entity_id: group.indoor_lights |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment