I have funny issue recently. I got Xiaomi smart plugs 3 and xiaomi central hub. Using Xiaomi Miot to connected to HA. It was working fine for a quite long time. A about months ago. The xiaomi smart plugs controls to turn on/off the night light. (when it is dark, turn on, randonly turn off before mid night), I suddenly find the night light off and on outside HA controls. I checked Xiaomi App Mihouse, and noticed that smart plugs 3 has more settings now, like schedule task, countdown switch, power protectin and etc. From the history data, I can see the switch was on/off by schedule task. I switched off these settings in Mihome for the smart plug3. In a few days, it starts doing again and checked schedule task and other settings inside of Xiaomi smart plugs are all restore to enabled. Disable all of them, and a few days it will restore to enable by itsself. Search around and someone suggested it is HA and miHome app conflict causes this. anyone has same experience?
Found out in some automation I made. Uses Xiaomi devices instead of switch. that reset the smart devices.