Probably initial state transition happens to early. In my logs I see it way before setup finishes and config is dumped.
Light transition is visible in logs but ignored:
[21:23:06][D][light:035]: 'status' Setting:
[21:23:06][D][light:040]: Color mode: RGB
[21:23:06][D][light:046]: State: ON
[21:23:06][D][state_machine:085]: State set to STARTING
[21:23:06][D][light:035]: 'status' Setting:
[21:23:06][D][light:050]: Brightness: 25%
[21:23:06][D][light:058]: Red: 100%, Green: 100%, Blue: 100%
I'm trying to set light status in
on_set
of the initial state, but it does not have effect.Probably initial state transition happens to early. In my logs I see it way before
setup
finishes and config is dumped. Light transition is visible in logs but ignored: