-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the Tuya TS0021 2-gang switch #3247
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #3247 +/- ##
==========================================
+ Coverage 88.18% 88.25% +0.06%
==========================================
Files 301 302 +1
Lines 9412 9430 +18
==========================================
+ Hits 8300 8322 +22
+ Misses 1112 1108 -4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I think this looks very good!
Awesome that you added tests 😄
Thanks for reviewing it @TheJulianJES! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, this loos good IMO! Thanks!
Fixes #2847, fixes #3007
Proposed change
This PR adds support for the Tuya TS0021 2-button switch. Here's an example listing for this device.
Additional information
The implementation was tested on Home Assistant core
2024.7.0
.Checklist
pre-commit
checks pass / the code has been formatted using Black