Add Sonoff Mini ZBRBS cover #4586
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Proposed change
Adds the Sonoff MINI ZBRBS cover quirk.
Additional information
All the functionality can be accessed from the device's button, but I think it's more practical to expose it using this quirk.
Fixes #4422
The implemented functionalities are:
The remaining cluster attributes can be read from the "Manage Zigbee device" option. There are 2 unknown attributes:
I think it would be interesting to implement a workflow to allow manual (in addition to automatic) limit configuration. I believe I've seen something similar implemented somewhere (launching a workflow from the device settings), but I haven't been able to locate it (and I'm not sure if it would be possible to implement it from a quirk). For now, we only have the option of automatic configuration.
The
cover_statusentity has been added but disabled. Although it doesn't provide relevant information, it can be useful when creating automations.Device diagnostics
zha-01KCD5D01VQYCT0HG3EAYSAFVF-SONOFF MINI-ZBRBS-d4136b73cf379046720b391adee464be.json
Checklist
pre-commitchecks pass / the code has been formatted using Black