I have an Aqara smart plug connected via ZHA. If it loses power, it defaults to the off state when power is restored. There is not an option to change this in ZHA.
I found this option under the cluster settings of the device, which seems like it would control the power loss behavior. However, I can’t seem to change it. I’m not sure if I need the manufacturer code override. Anyone have any ideas?