-
Notifications
You must be signed in to change notification settings - Fork 796
v2 quirk for Bosch light/cover control relay II (BMCT-SLC / RBSH-MMS-ZB-EU) #4052
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
base: dev
Are you sure you want to change the base?
Conversation
Uses https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/bosch.ts for reference Overrides the window_covering_type from `Shade` (tilt) to `Tilt_blind_tilt_and_lift` because the device is a generic relay supporting commands for both lift and tilt. pre-commit fixes
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #4052 +/- ##
==========================================
+ Coverage 91.19% 91.22% +0.02%
==========================================
Files 335 336 +1
Lines 10886 10921 +35
==========================================
+ Hits 9928 9963 +35
Misses 958 958 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Looping in initial testing feedback from home-assistant/core#143875 (comment) Hi @stylefish, the duration entities should now be working (latest version in https://github.com/zigpy/zha-device-handlers/pull/4052/files). I've also updated the
|
cc04727
to
2139c07
Compare
Thanks for checking @stylefish, 253ebd2 should resolve this. |
Yes that's correct. |
Many thanks for your fantastic Support and work on this @jeverley and @stylefish So i dont need the custom quirk folder and py file anymore when this PR is merged and in the next Core Update from Home Assistant? |
Proposed change
This quirk also overrides the
window_covering_type
from the tilt onlyShade
type, toTilt_blind_tilt_and_lift
because the device is a generic relay supporting commands for both lift and tilt.Uses https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/bosch.ts as reference for exposing the device's configuration and status entities.
zigbee2mqtt supports the ability to manage entity availability depending on a device attribute value (in this case it exposes light entities when the device is in light mode, and the cover entity when in shade mode).
ZHA can't currently do this, so instead users will need to disable the redundant entities based on their configuration.
Additional information
Checklist
pre-commit
checks pass / the code has been formatted using Black