#What would prevent setting an attribute from working?
1 messages · Page 1 of 1 (latest)
Can you provide the quirk code? How are you writing the attribute? Through the "Manage Zigbee device" UI? If so, make sure the second text field is left empty (or try -1 for that). Enter the value you want to write in the first text field.
If there's already a PR in the zha-device-handlers repo. Even if it's draft/non-functional, please link it.
Here's the PR:
https://github.com/zigpy/zha-device-handlers/pull/4141
I'm using the Manage Zigbee Device UI
I was experimenting by changing the OppleSwitchCluster to use something like this, since it seems the attribute id changed:
class NewOppleSwitchCluster(OppleSwitchCluster):
"""Xiaomi mfg cluster implementation."""
attributes = copy.deepcopy(OppleSwitchCluster.attributes)
attributes[0x0286] = attributes[0x0125]
del attributes[0x0125]