MINIZB (zbmini) toggles off automatically

Hi guys,

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?

Never seen that behavior, and I have plenty of zbmini. Do you use discovery, or created the switch manually in yaml?

Yup, all the devices are set up by discovery from zigbee2mqtt to home assistant, i dont have any config in the yaml.

If i disable this entity, all works fine:


so weird.

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?

You bring me light

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 :face_in_clouds: . Thanks for your fast response, sometimes sharign something helps to think better.

1 Like

Don’t feel stupid. We’ve all been there at some point.

1 Like