In the release of 2023.8, one of the key features added was the Event entity. I have a sizeable number of Zigbee devices integrated via Zigbee2MQTT, but I don’t see Event entities for any single one of these devices.
Am I missing something? I just upgraded to Z2M 1.33.0-1, and I’m currently running 2023.8 HAOS. How do I get these entities?
Just to summarize, Zigbee2MQTT will directly have to support event entities, and the fact that these entities are supported by HA → MQTT is not enough?
MQTT is nothing more than a communication protocol.
It’s the responsibility of whatever uses the MQTT communication protocol to implement an Event entity. For example, the MQTT Event integration creates an Event entity that can communicate via MQTT.
Similarly, it will be up to the Zigbee2MQTT project to implement Event entities.
Understood, thanks for clarifying. I assumed that the event data was already carried by way of recognizing an action, and HA was doing the work of translating those to Event entities. I did not realize that this is a 1:1 between Z2M and HA.
Zigbee2MQTT creates entities in Home Assistant (such as light, switch, etc) via Home Assistant’s MQTT Discovery feature. It’s now also possible to create an event entity via MQTT Discovery.
There is now an experimental implementation in Z2M dev. To enable it, you have to set homeassistant: {experimental_event_entities: true} in Z2M’s configuration.yaml.
Im not using the addon, Im using Docker for Zigbee2MQTT. But it appears I needed to upgrade to the latest HA. It works in version 2025.1. Now I have a new issue and that’s the missing “action_group” (next to action) for my MiBoxer remote. For that, Im simply reverting to the good old mqtt triggers: