-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Fix RM mini 3 update manager #40215
Fix RM mini 3 update manager #40215
Conversation
Hey there @Danielhiversen, mind taking a look at this pull request as its been labeled with an integration ( |
@balloob I made a mini patch for RM mini 3, so users don't need to wait for the library. |
if device.api.model.startswith("RM mini"): | ||
return BroadlinkRMMini3UpdateManager(device) |
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.
This will do the trick for now, but we should consider segregating interfaces at the library in the future.
cf74f24
to
79b3ee0
Compare
Proposed change
Create a separate class to manage RM mini 3 updates correctly. These devices do not have sensors. If we check_sensors() for RM mini 3 (0x5f36) we get a StorageError(). So we are gonna say hello to check if the device is online.
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: