-
Notifications
You must be signed in to change notification settings - Fork 717
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
quirk for ts0603 garage door module #3607
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #3607 +/- ##
==========================================
+ Coverage 89.85% 89.86% +0.01%
==========================================
Files 321 322 +1
Lines 10366 10379 +13
==========================================
+ Hits 9314 9327 +13
Misses 1052 1052 ☔ View full report in Codecov by Sentry. |
zhaquirks/tuya/ts0603_garage.py
Outdated
|
||
( | ||
TuyaQuirkBuilder("_TZE608_fmemczv1", "TS0603") | ||
.tuya_onoff(dp_id=1) |
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.
Would a button be more appropriate here?
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.
Probably 😄 This is my first quirk so it wasn't easy. I've searched the repo and there aren't many examples of exposing entity as button in Homeassistant. Finally I "invented" something working and hopefully it is acceptable 😄
Proposed change
Added quirk for TS0603 _TZE608_fmemczv1
Additional information
Partially fixes #3263
Issue mentions both TS0603 by _TZE608_c75zqghm and TS0603 _TZE608_fmemczv1 but I don't have former one to verify if my quirk would work for it
Checklist
pre-commit
checks pass / the code has been formatted using Black