zha-device-handlers
zha-device-handlers copied to clipboard
Transfer all Sinopé devices to quirks V2
Proposed change
Transfer all Sinopé devices to quirks V2 and add support for some new devices. Add many new attributes in manufacturer cluster.
Additional information
Some manufacturer cluster attributes are already supported in ZHA but attributes values are not the same. ex. attribute 0x0002 for keypad_lockout in manufacturer cluster have three values. Unlocked = 0x00, Locked = 0x01, Partial_lock = 0x02. In ZHA there is 5 values Unlock, lock1, lock2, lock3 and lock4 which have no meaning for Sinopé devices. Same for on_led_color which have only the color used in Neviweb. We should be able to add mode color. They should be included in this quirks as they are only available for Sinopé devices. This PR replace PR #3821.
Checklist
- [x] The changes are tested and work correctly
- [x]
pre-commitchecks pass / the code has been formatted using Black - [ ] Tests have been added to verify that the new code works