Missing Device Actions in HA
What happened?
After restarting Z2M and HA I am missing some device actions that existed previously and are used in automations.
I can see the issue but not identify where this is not working.
The action topic appears to be working fine
but the HA device_automation topic is not
This is a three button switch (https://www.zigbee2mqtt.io/devices/QBKG25LM.html#aqara-qbkg25lm) and I have automations built around "single_left" and "single_centre" actions but these just don't show up here and hence don't appear in HA. My understanding was that they would appear once first seen but whist clicking the buttons are generating the appropriate action topic but not the device_automation one.
If I manually publish a message to homeassistant/device_automation/0x54ef4410009737dd/action_single_left/config with payload
{
"automation_type": "trigger",
"device": {
"identifiers": [
"zigbee2mqtt_0x54ef4410009737dd"
],
"manufacturer": "Aqara",
"model": "Smart wall switch D1 (no neutral, triple rocker) (QBKG25LM)",
"name": "Kitchen Light Switch",
"via_device": "zigbee2mqtt_bridge_0x00212effff070ec3"
},
"origin": {
"name": "Zigbee2MQTT",
"sw": "1.37.0",
"url": "https://www.zigbee2mqtt.io"
},
"payload": "single_left",
"subtype": "single_left",
"topic": "zigbee2mqtt/Kitchen Light Switch/action",
"type": "action"
}
then it appears in HA.
I have also experience this on some Hue Wall Switch Modules (the only other switches I am using)
What did you expect to happen?
Actions would get passed to HA
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.37.0
Adapter firmware version
0x26780700
Adapter
Conbee II
Setup
Docker
Debug log
No response
Now I am really confused.... I just added a new Hue Wall Swich Module and this is what I get
no device automation messages at all even though actions are being fired and recorded
but the triggers are showing up in HA....
but the docs suggest this should only show up with an MQTT device trigger message.... https://www.home-assistant.io/integrations/device_trigger.mqtt/
I also realised I have a Sonoff SNZB-01P button and this also stopped working and I can see the action messages flowing fine but there are no device_automation messages and no actual button press actions show up in HA (should have single, double and long)
Happened to me too a ~week ago. Five seemingly random lights lost it's action - however some other entities (update_available, power_on_behaviour) from those same units are still reachable in HA.
The groups containing the entities are also not reachable in HA, which makes me think it's a Z2M issue.
Happened to me too a ~week ago. Five seemingly random lights lost it's action - however some other entities (update_available, power_on_behaviour) from those same units are still reachable in HA.
The groups containing the entities are also not reachable in HA, which makes me think it's a Z2M issue.
This was resolved by restoring to a previous version.
Hi,
I can repeat this bug with latest development release. sha256:58c7c45534f275f1b68caa1354f99bfdb2734f95de6e9576d1e59d12b49e37d5. When I revert to latest it started to work again in HA automations.
Happened to me too a ~week ago. Five seemingly random lights lost it's action - however some other entities (update_available, power_on_behaviour) from those same units are still reachable in HA. The groups containing the entities are also not reachable in HA, which makes me think it's a Z2M issue.
This was resolved by restoring to a previous version.
What version would that be? Is it save to just roll-back? some remotes dont work anymore, giving empty string
Any updatges on thsi topic? I experience the same problem.
I added a new button (SONOFF SNZB-01P) today; I have never had one before. But I also can't use this button; no actions are triggered. Not in the developer tools, not in Node-RED, in Zgibee2MQTT, I get this message on pressing the button:
String ohne Inhalt("")
See also the screenshot:
EDIT: A Level 8 Issue... problem solved, I have used the wrong device -.-
I'm having maybe a variant of this issue? This 8-button remote
Is supposed to have 4 groups of actions:
- on_#
- off_#
- brightness_move_up_#
- brightness_move_down_#
- brightness_stop_#
I've tried to reset, pair, re-interview, remove battery, the device several times. But only one group out of 4 updates the "Action" state.
On my first pairing attempt this was group 1. On later attempts this was group 4.
I have another one of these remotes with the same firmware, which I paired months ago and that works correctly. So that is more reason to think it's a regression in a newer Z2M version.
Ok some rebooting of haos later, the actions work fine without needing to reset or anything. :shrug: