I have around 50 devices in my Zigbee2MQTT environment, and all of them work perfectly — except for two Sonoff ZBMINIL2 switches.
The issue: The state of these two switches is not reflected correctly in Home Assistant.
I can control the lights (turn them on and off) from Home Assistant, and I see the correct state updates in the Zigbee2MQTT interface.
Here’s a content of the “status” page from the device in Zigbee2MQTT:
{
"last_seen": "2025-07-04T14:25:29+02:00",
"linkquality": 255,
"power_on_behavior": "previous",
"state": "OFF",
"update": {
"installed_version": 4110,
"latest_version": 4110,
"state": "idle"
}
}
However, in Home Assistant, the entity state remains stuck at "unknown"
Is there anything I can check to figure out why this issue only affects these two devices, while all others work flawlessly?
Thanks a lot in advance!