Some days ago i received a zbmini (i prefer the one with the neutral cord for some reasons) and i was turning crazy.
The device works fine, until i sync with zigbee2mqtt, if i try to turn on, the device turn off instantly. I checked everything and all seems good connected.
After go to check the config, i did some tests with the mqttexplorer. After while, i have seen that if the switch entity of the device is enabled in home assistant, the issue happens, if i disabled the entity, all works like expected, from zigbee2mqtt and from th phyisical switch…
I have search for a similar issue and i dont see nothing similar. Can anyone give me light?
I’ve seen a couple of weird posts lately about entities going back to previous states unexpectedly while on screen. One or two would have me think it is something else, but it gets to a point where I start to wonder. What if you enable the switch and do not display it anywhere?
Ok i´ve just enabled the switch now and all is working fine, i guess that this morning when i´ve just synced the device, works for a while. After some times, start to do this.
I have an automation from nodered like this one
well, is the first automation with this devices and is very simple, if the sensor catch presence, the light will turn on, if not , the light will be turn off.
The problem is as a wired sensor, sent the status continously so… if you turn on the light, the automation will be power off the ligh.
Sorry guys, i feel stupid . Thanks for your fast response, sometimes sharign something helps to think better.