zha-device-handlers
zha-device-handlers copied to clipboard
Convert Sonoff buttons to v2 quirk
Proposed change
This converts both existing Sonoff button quirks to a combined v2 quirk. This way we can avoid adding other signature variations. The "signature match test" is also removed, as it doesn't make much sense with a v2 quirk(?)
Additional information
Also addresses https://github.com/home-assistant/core/issues/104548#issuecomment-2004994990
Checklist
- [ ] 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