Open ebaauw opened 1 year ago
@ebaauw Phew, that makes me nervous... However, it might be related to #6323, a state change is kept alive "just" for 3 mins. You might want to retest with the added attribute and raise the timeout. The state change eventually times out if the air is too crowded?
Describe the bug
When setting
config/color/execute_if_off
through the API, deCONZ sometimes fails to write Options. It seems the change is ignored by state engine: no messages in the log (except the wen socket notification), no Zigbee Write Attributes in the sniffer. Sometimes this happens for all lights, sometimes for some. Sometimes it works after restarting deCONZ.Steps to reproduce the behavior
PUT a light
config
with body of{"color": {"execute_if_off": true}}
Expected behavior
Should work always.
Screenshots
n/a
Environment
deCONZ Logs
When it works, the DDF log seems normal:
Additional context
I noticed a while ago that changes for my Mueller light didn't stick, but didn't have the time to investigate. Now I also see reports from one of my users, see https://github.com/ebaauw/homebridge-deconz/issues/100#issuecomment-1407475554. And more extensive testing shows it sometimes doesn't work for my Hue lights either. Not sure if relevant, but
execute_if_off
has defaulttrue
, so it should be written on startup.