I have paired a push-button (Wireless mini switch (WXKG11LM)
by Aqara) to Zigbee2mqtt and the push-button is visible on the dashboard. When pressing the push-button, I can see under “last seen” an activity (single or double).
But when going under settings - devices and services - MQTT and choosing my push-button, I don’t see any entity called “action” (I see entities battery, temperature, voltage). I guess it is related to a setting somewhere but I don’t find the way to see the entity “Action”.
Anyone who has an idea how to do to be able to see the entity “Action”?
The next step is to be able to use my push-button on Node-Red, I would like to read the entity “action” to react and activate something. But same there, I don’t see the entity “action” under node-red. I guess it is the same problem as above. I can add that I have lots of devices on Zigbee2mqtt where I can see all entities (termometers, motion sensors, etc), but no push-buttons.
Anyone who has an idea how to do to be able to see the entity “Action” in node-red?
Thank’s for your answer @ShadowFist . I have checked the Z2M 2.0 breaking changes and would like to avoid the setting “legacy_action_sensor: true” as it seems to disapear in the future. And unfortunately I am not sure that I understand how I can get the “action” into Node-Red. Any idea about that?