I’m thinking this may be a configuration issue, since this is the second switch to do this, I sent the original back thinking it was defective.
I’m using a Dresden Elektronik ZigBee gateway [ConBee II], with zigbee2mqtt, HA running in a docker container. The switch is a WXKG11LM. It’s sitting on my desk and part of an automation to toggle a Zigbee smart plug (US version) (S31ZB) by SONOFF.
I think something is losing the state, and so resetting to turning the outlet off. I’m kind of new to HA, and have hopes to be able to automate and integrate these switches for things, but am at a loss here.
It certainly looks to me like it is detecting a change to the switch, it was a couple of weeks between returning the original and getting the new one. They both display the same behavior, the state never changed unless I did it via the HA website or my phone app when I did not have a physical switch.
It looks like it is happening every 60 minutes, which makes me think the switch is sending an update, that HA is interpreting as it needs to toggle the other device, in this case the zigbee outlet.