Summary
When pairing my Sonoff SNZB-01M button with Zigbee2MQTT in Home Assistant, the device exposes multiple actions (single, double, triple, long press on each of the four buttons). Zigbee2MQTT shows all of these actions correctly as soon as the integration starts. However, the Home Assistant automation editor does not list any of these actions as trigger options until each one has been fired at least once. This makes it impossible to configure automations ahead of time.
Steps to reproduce
Install the Zigbee2MQTT add-on and integrate it with Home Assistant.
Pair a Sonoff SNZB-01M button (or any device using custom action events) with Zigbee2MQTT.
Restart Zigbee2MQTT and confirm that its UI shows the action list (single_button_1, double_button_1, triple_button_1, long_button_1, etc.).
In Home Assistant, open Settings → Automations & Scenes → Create Automation → Trigger → Device.
Select the Zigbee2MQTT device.
Observe that none of the button actions appear in the trigger dropdown.
Press an action on the physical button (e.g., press button 1 once).
Return to the automation editor and check the trigger list again.
Current behavior
Only the actions that have already occurred since pairing show up in the automation trigger options. All others remain hidden until the device has emitted each action at least once.
Expected behavior
Every action exposed by Zigbee2MQTT should appear in Home Assistant’s automation trigger list immediately after the device is paired, so automations can be configured in advance without manually triggering each action.
Zigbee2MQTT evidence
The Zigbee2MQTT frontend immediately lists all supported actions, so the MQTT side is publishing the correct metadata.
Environment
Home Assistant Core version: 2025.6.3
Zigbee2MQTT version: 2.4.0
Zigbee coordinator: Sonoff ZBDongle-E
Affected device: Sonoff SNZB-01M (four-button remote)
Summary
When pairing my Sonoff SNZB-01M button with Zigbee2MQTT in Home Assistant, the device exposes multiple actions (single, double, triple, long press on each of the four buttons). Zigbee2MQTT shows all of these actions correctly as soon as the integration starts. However, the Home Assistant automation editor does not list any of these actions as trigger options until each one has been fired at least once. This makes it impossible to configure automations ahead of time.
Steps to reproduce
Install the Zigbee2MQTT add-on and integrate it with Home Assistant.
Pair a Sonoff SNZB-01M button (or any device using custom action events) with Zigbee2MQTT.
Restart Zigbee2MQTT and confirm that its UI shows the action list (single_button_1, double_button_1, triple_button_1, long_button_1, etc.).
In Home Assistant, open Settings → Automations & Scenes → Create Automation → Trigger → Device.
Select the Zigbee2MQTT device.
Observe that none of the button actions appear in the trigger dropdown.
Press an action on the physical button (e.g., press button 1 once).
Return to the automation editor and check the trigger list again.
Current behavior
Only the actions that have already occurred since pairing show up in the automation trigger options. All others remain hidden until the device has emitted each action at least once.
Expected behavior
Every action exposed by Zigbee2MQTT should appear in Home Assistant’s automation trigger list immediately after the device is paired, so automations can be configured in advance without manually triggering each action.
Zigbee2MQTT evidence
The Zigbee2MQTT frontend immediately lists all supported actions, so the MQTT side is publishing the correct metadata.
Environment
Home Assistant Core version: 2025.6.3
Zigbee2MQTT version: 2.4.0
Zigbee coordinator: Sonoff ZBDongle-E
Affected device: Sonoff SNZB-01M (four-button remote)