You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently migrated from using ZHA to Zigbee2MQTT. While converting my automations, I selected the Zigbee2MQTT option in the Hue Dimmer blueprint, and filled in the required fields. This however doesn't work properly as the blueprint is expecting commands with hyphens instead of underscores. e.g. on-press or off-hold-release. For ZHA and deCONZ, they're set to on_press and off_hold_release.
My Zigbee2MQTT setup is giving the Hue dimmer commands with underscores. After editing the blueprint source to use underscores, it worked as expected.
Import automation blueprint and set up an automation using a Hue Dimmer set up with Zigbee2MQTT.
Add test sequence in one of the button actions (e.g. turn a light on)
Press button on remote
This will set the last command helper properly, but won't actually do anything, because the automation is looking for command IDs with hyphens instead of underscores.
Expected behavior
The remote buttons should trigger some automation to happen.
Actual Behaviour
The remote buttons do not cause any automation to happen.
Additional Details
I'd like to help developing a fix for this issue.
The text was updated successfully, but these errors were encountered:
Blueprint name
Controller - Philips 324131092621 Hue Dimmer switch
Home Assistant Core Version
2023.4.6
Home Assistant Installation Type
Home Assistant Operating System
Description
I recently migrated from using ZHA to Zigbee2MQTT. While converting my automations, I selected the Zigbee2MQTT option in the Hue Dimmer blueprint, and filled in the required fields. This however doesn't work properly as the blueprint is expecting commands with hyphens instead of underscores. e.g.
on-press
oroff-hold-release
. For ZHA and deCONZ, they're set toon_press
andoff_hold_release
.My Zigbee2MQTT setup is giving the Hue dimmer commands with underscores. After editing the blueprint source to use underscores, it worked as expected.
Problem Blueprint Code
Link to code
Should be:
To Reproduce
This will set the last command helper properly, but won't actually do anything, because the automation is looking for command IDs with hyphens instead of underscores.
Expected behavior
The remote buttons should trigger some automation to happen.
Actual Behaviour
The remote buttons do not cause any automation to happen.
Additional Details
The text was updated successfully, but these errors were encountered: