zha-device-handlers: [BUG] Quirk for Hue Dimmer has been changed to reflect old firmware that was replaced in October 2019!
Describe the bug The quirk for the Hue Dimmer, zhaquirks.philips.rwl021.PhilipsRWL021, which worked perfectly with the current firmware released in October 2019 has recently been replaced by one that reflects a previous firmware. This has lost several functions and renamed the remaining ones breaking current set up in Home Assistant.
To Reproduce Events in ZHA are currently… Click ‘I’ - returns only ‘on’ Click ‘up’ - returns ‘step’ Hold ‘up’ - returns ‘step’ as above, followed by ‘step’ again but with different args Release ‘up’ - returns ‘stop’ Click ‘down’ - returns ‘step’ Hold ‘down’ - returns ‘step’ as above, followed by ‘step’ again but with different args Release ‘down’ - returns ‘stop’ Press '‘O’ - returns ‘off_with_effect’
Expected behavior Events in ZHA used to, and should, be… Click ‘I’ - on_short_release Hold ‘I’ - on_hold Release ‘I’ - on_long_release Click ‘up’ - up_short_release Hold ‘up’ - up_hold Release ‘up’ - up_long_release Click ‘down’ - down_short_release Hold ‘down’ - down_hold Release ‘down’ - down_long_release Click ‘O’ - off_short_release Hold ‘O’ - off_hold Release ‘O’ - off_long_release
Fix literally only requires replacing with the pre-existing version.
Additional context
{
"node_descriptor": "NodeDescriptor(byte1=2, byte2=64, mac_capability_flags=128, manufacturer_code=4107, maximum_buffer_size=71, maximum_incoming_transfer_size=45, server_mask=0, maximum_outgoing_transfer_size=45, descriptor_capability_field=0)",
"endpoints": {
"1": {
"profile_id": 49246,
"device_type": "0x0830",
"in_clusters": [
"0x0000"
],
"out_clusters": [
"0x0000",
"0x0003",
"0x0004",
"0x0005",
"0x0006",
"0x0008"
]
},
"2": {
"profile_id": 260,
"device_type": "0x000c",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x000f",
"0xfc00"
],
"out_clusters": [
"0x0019"
]
}
},
"manufacturer": "Philips",
"model": "RWL021",
"class": "zhaquirks.philips.rwl021.PhilipsRWL021"
}
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 47 (16 by maintainers)
Fantastic, deleted the folder and all up to date and working as it should now.
Thank you for your patience and apologies for assuming it was something in your update.
You have incorrect version of zha-device-handlers and/or zigpy installed. Update both to the latest one define in manifest.json
Or you is deleting all in the deps folder and restarting HA and its away.
Thanks. Yes, I still have the old CC2531 I used before swapping to the Sonoff ZBBridge, will give it a go and let you know.
If you have another Zigbee stick, are you willing to setup a clean HassOS installation on some test machine and only install ZHA and join the dimmer? Since I can’t reproduce your issue, I’m not sure how else this can be debugged. A clean HassOS installation should basically give us both the same environment.
I’ll also try to find out what the error in your logs is about.
Yeah, I was also running the HA 2021.2.x beta. However, I manually updated zha-quirks a couple of times on 2021.2.3 now, but there weren’t like any changes that could do this I guess. I’ll see if I can revert later and if the issue then occurs.