Hello everyone,
I have an extra Hue Dimmer Switch V2 (the one with the Hue button at the bottom) that I wanted to connect to Zigbee2Mqtt to launch scenes in Gladys. I came across this topic: Zigbee2mqtt: Ajout télécommande Philips Hue Dimmer Switch
Looking at the commits of the PR on GitHub, I see that the actions in the file server/services/zigbee2mqtt/exposes/enumType.js are now separated by hyphens (on-press / on-release for example) instead of underscores, which doesn’t match the V2 of the dimmer switch according to the zigbee2mqtt documentation.
Would it be possible to modify it to put the underscores back instead of hyphens?
If I understand correctly, the V1 must have had a firmware update to handle this, and if that’s not the case, zigbee2mqtt has a legacy option for this device to continue converting underscores to hyphens. V1 users should therefore not be affected while allowing the use of the V2.
What do you think?
I did try to convert the messages on the fly via Node-Red but it quickly becomes a mess.
Available for testing if needed.
Thanks