[BUG] Philips RDM001 (ZHA) broken as of HomeAssistant 2024.11
Bug report
Description
It seems like the zha handling bundled with HomeAssistant 2024.11 broke the Philips Hue Wall Switch Module (RDM001).
Specifically, button presses are not reported with the same names as previously. My own investigation of my double rocker switches report that:
-
right_press_releasehas been renamed toright_short_release -
right_hold_releasehas been renamed toright_long_release - (Presumably there are similar changes for
left_events, as well as for single rocker switches. There may also be even more changes than the above, I haven't investigated thoroughly)
People who have stumbled upon the same issue:
- https://community.home-assistant.io/t/philips-hue-wall-module-rdm001-rdm004-button-press-blueprint/745455/9
- https://github.com/zigpy/zha-device-handlers/pull/3075
Additional information
- Devices involved:
- Model: Philips RDM001 (
Philips929003017102LightController)
- Model: Philips RDM001 (
- Integration: zha
- AppDaemon version: 0.16.7
- ControllerX version: My old fork from dec 2023, have been too lazy to upgrade
- HACS version (if installed from there): 1.33.0
- Home Assistant Core version: 2025.4.1
Workaround & next steps
I have made it work by editing my apps.yaml and made the above mentioned substitutions of event names:
-
right_press_releasehas been renamed toright_short_release -
right_hold_releasehas been renamed toright_long_release
This solved it for me in the short term.
In the long run, I assume we need to update Philips929003017102LightController.get_zha_actions_mapping function (link) with the new event names. Should be pretty easy but I'm short on time right now - just wanted to post my thoughts in case someone else runs into the same issue.
Hi @aommm , I have created following PR for the fix. I will merge for next release.