This automation isn’t working and I’m not sure why. If anyone can shed any light on what’s wrong with it it’d be much appreciated! It’s supposed to turn the light on and go from 0 - 255 brightness over the course of 1 hour between 8-9am.
- alias: "Wake me up"
trigger:
platform: state
entity_id: group.bedroom_light
state: 'off'
condition:
condition: time
after: '07:59:59'
before: '09:00:00'
action:
service: homeassistant.turn_on
entity_id: group.bedroom_light
data:
brightness: 255
transition: 3600