I used to control my lights with Philips Hue automations but have now moved those automations to Home Assistant to migrate away from Philips ecosystem and to make the automations to work when I add non-Philips light into the system.
I want my bedroom and kitchen lights to turn on in the morning
alias: Wake up lights
description: ""
triggers:
- trigger: time
at: "09:00:00"
conditions: []
actions:
- action: light.turn_on
metadata: {}
data:
brightness_pct: 100
target:
area_id:
- bedroom
- kitchen
mode: single
and turn off in the night
alias: Go to sleep
description: ""
triggers:
- trigger: time
at: "22:00:00"
conditions: []
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
area_id:
- bedroom
- kitchen
mode: single