After I started using the gateway (xiaomi v2) with the home assistant, the button on the gateway stopped working if the lights were off. If the light is turned on programmatically, the button is active again and allows the light to be turned off and on again. How to fix?
ps the button works on double presses and sets the protection mode