zha-device-handlers icon indicating copy to clipboard operation
zha-device-handlers copied to clipboard

Convert Sonoff buttons to v2 quirk

Open TheJulianJES opened this issue 1 year ago • 3 comments

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-commit checks pass / the code has been formatted using Black
  • [ ] Tests have been added to verify that the new code works

TheJulianJES avatar Mar 18 '24 22:03 TheJulianJES