Hi
I think I miss something, or there's an annoying bug with Home Assistant integration.
When the Home Assistant restarts, all OBK devices lose their state in HA.
To reproduce:
1. Turn on some OBK switch/light. Make sure the state in HA is correct.
2. Restart HA
3. Check the status of the switch/light
--- see that it is set to "off" (bug!!)
Is there a workaround or solution for that? BTW, flag 10 doesn't solve the issue
Flag 10 - [MQTT] Broadcast self-state on MQTT connect
Added after 46 [minutes]:
Seems like it was also reported as a bug https://github.com/openshwprojects/OpenBK7231T_App/issues/1182
For me, the workaround is setting flags 10 and 21 (and restarting the device)