Power Loss problem

Using conbee II, bare metal phoscon and home assistant deconz. Whenever there is a power loss and then the power comes back, most of the zigbee devices comes back. However 2-3 light devices lose its connection. I have to go to deconz-gui, select the device and from cluster info i have to “read” the OnOff status attribute. Then home assistant sees the status of the device and everything works in order. I have to make that for each device that loses its connection.

But when i am outside, it is not easy to ssh to my linux deconz-gui to make that. Is there a way to read OnOff status from REST API or any other way to solve this problem?