Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Home Assistant automation for Philips Hue garage light group
- 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
You can’t perform that action at this time.