If the aqara e1 (QBKG39LM) switch is turned on and the light is turned off, then after turning on the light, the switch restores its state and turns on when I sleep. How to fix it?
found the answer in the settings (exposes section) of the zigbee2mqtt device - item power outage memory