-
Notifications
You must be signed in to change notification settings - Fork 677
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 NodOn SIN-4-FP-21 quirk #3364
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 #3364 +/- ##
==========================================
+ Coverage 88.71% 88.74% +0.02%
==========================================
Files 306 308 +2
Lines 9820 9843 +23
==========================================
+ Hits 8712 8735 +23
Misses 1108 1108 ☔ View full report in Codecov by Sentry. |
64cbe5e
to
62418ea
Compare
ed08401
to
228e8a9
Compare
@TheJulianJES I've re-pushed commits to use the v2 interface of If you think tests are necessary here, please give me an example of any test that uses the v2 interface. |
9ab2186
to
a69894d
Compare
Any news on this? I would love this to be merged, I myself own a bunch of those modules. |
Please validate. I need this quirk as well |
@TheJulianJES, I have a question. I didn't find a better place to ask it. There is a slight problem with this quirk. An entity added to HA gets the '_none' suffix (see attached picture). I would expect it to get the '_pilot_wire_mode' suffix. Of course, one can rename the HA entity, but getting it right from the start is better. I did a lot of debugging on my side but got lost, to be honest. I see that the ZHA objects receive the correct This problem is not only with an enum but also with a configuration number. I'm preparing a PR to allow configuring impulse mode on NodOn switches (similar to this). My entity also has the I'd appreciate your help or guidance. P.S. With no success, I've tried setting |
a69894d
to
6c1f551
Compare
The |
Thank you for the answer. Can you point out where I should add it in HA? I want to try it locally. I will change HA's code in my installation. |
Proposed change
This PR adds a quirk for SIN-4-FP-21 (PilotWire). The device reports itself as a SmartPlug but it has special manufacturer-specific cluster which allows setting the following modes:
Additional information
The result look like this in Home Assitant:
Checklist
pre-commit
checks pass / the code has been formatted using Black