-
Notifications
You must be signed in to change notification settings - Fork 738
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 Legrand 064882 cable outlet support #2807
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2807 +/- ##
==========================================
+ Coverage 87.35% 87.40% +0.05%
==========================================
Files 287 288 +1
Lines 8835 8871 +36
==========================================
+ Hits 7718 7754 +36
Misses 1117 1117 ☔ 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.
Looks good to me.
Hi, I paired my Legrand 064882 cable outlet but I only get the On/Off switch control functionality. Thanks ! |
You have to download cable_outlet.py to your HA "config/custom_zha_quirks" directory. |
Merci pour ta réponse. |
Je viens de le faire et cela ne fonctionne pas pour moi non plus Le changement de mode ne fonctionne pas: Il faudrait poursuivre ici : https://github.com/zigpy/zha-device-handlers/discussions |
Comment tu déclenche le changement de mode ? Moi si je vais écrire |
Il suffit de lire en haut de la page. |
Proposed change
Add quirk to support Legrand 064882 cable outlet with pilot wire functionality.
Additional information
Before being able to switch the pilot wire mode, you need to write
![Capture d’écran 2023-12-06 à 15 39 45](https://private-user-images.githubusercontent.com/397503/288442326-05d22fc7-5780-4c43-8a53-18bfe88f4db4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NDUxMzgsIm5iZiI6MTczODg0NDgzOCwicGF0aCI6Ii8zOTc1MDMvMjg4NDQyMzI2LTA1ZDIyZmM3LTU3ODAtNGM0My04YTUzLTE4YmZlODhmNGRiNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQxMjI3MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYTM4OThhMDRkMjdiZWVhOGJiMmJkM2I0NzFkYzg1NTc0ZGU5ZGQ4YTAzZGRhOTM3MDIyOGY4YjYzOTMzYmRlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.iVrJ-YJZJai_r2FJT3nMQqH0_0KveCBUwBr29INIc38)
20
inLegrandCluster
device_mode
attribute, to enable pilote wire mode (10
to disable it):Commands has to be send using
zha.issue_zigbee_cluster_command
service to change pilot wire mode.Example:
Check
PilotWireMode
enum for the possible values.Fixes #789
Checklist
pre-commit
checks pass / the code has been formatted using Black