-
Notifications
You must be signed in to change notification settings - Fork 736
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 quirks for new Sinopé Load Controller #3195
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #3195 +/- ##
=======================================
Coverage 88.17% 88.18%
=======================================
Files 300 300
Lines 9386 9393 +7
=======================================
+ Hits 8276 8283 +7
Misses 1110 1110 ☔ View full report in Codecov by Sentry. |
zhaquirks/sinope/switch.py
Outdated
@@ -326,6 +327,67 @@ class SinopeTechnologiesLoadController(CustomDevice): | |||
} | |||
|
|||
|
|||
class SinopeTechnologiesNewLoadController(CustomDevice): |
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.
IMHO bad naming.
I would prefer SinopeTechnologiesLoadController_var02
or similar.
Otherwise you can get sometime a SinopeTechnologiesNewNewLoadController
😉
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.
better like this SinopeTechnologiesLoadController_V2
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!
Proposed change
Additional information
New load controller have cluster 0x0002 that is missing in old load controller
Checklist
pre-commit
checks pass / the code has been formatted using Black