Created
November 24, 2017 11:08
-
-
Save LarsBergqvist/9f1fbda31658acffbd1cb147025f99f9 to your computer and use it in GitHub Desktop.
Home Assistant automation for Philips Hue garage light group
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
- id: automation1 | |
alias: Turn on garage lights when sun sets | |
initial_state: true | |
hide_entity: false | |
trigger: | |
- event: sunset | |
offset: 00:25:00 | |
platform: sun | |
action: | |
- data: | |
brightness: 190 | |
entity_id: light.garage | |
service: light.turn_on | |
- id: automation2 | |
alias: Turn off garage lights when sun rises | |
initial_state: true | |
hide_entity: false | |
trigger: | |
- event: sunrise | |
offset: -01:00:00 | |
platform: sun | |
action: | |
- data: | |
entity_id: light.garage | |
service: light.turn_off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment