-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Remove stale Shelly BLU TRV devices #145994
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
Hey there @balloob, @bieniu, @chemelli74, @bdraco, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Beside the fact that I'm not sure this is categorizable as a big fix, looks good |
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.
Hey hey 👋
I don't fully understand which bug this is fixing. The PR description also doesn't provide the motivation for it (maybe you forgot or it went missing).
Could you clarify?
../Frenck
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Sorry, I first created the PR as draft to complete testing since I switched to another PR and forgot to update the description, I hope it is clear now. As for #145994 (comment) I don't have clear understanding if this should be tagged as new feature or a bugfix, my first understanding was that since it cleans up something which is broken and doesn't bring any new user facing feature it should be a bugfix. We don't have any open issue about since most users probably didn't un-pair or paired a new device so this can wait for the next release, please add your opinion and I will update accordingly. Thanks. |
Proposed change
When we implemented support for Shelly BLU TRV (a Bluetooth device, needs a gateway) that is paired to Shelly Gen3 gateway, we didn't implement a way to remove it when you un-pair the device from the gateway.
This PR remove stale BLU TRV devices when we detect that the BLU TRV MAC address is no longer paired to the gateway.
Type of change
Additional information
Checklist
ruff format 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
.To help with the load of incoming pull requests: