-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Add Xiaomi Miio EU gateway support #47955
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
Conversation
Hey there @rytilahti, @syssi, mind taking a look at this pull request as its been labeled with an integration ( |
Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Alright I have tested the code on my dev enviroment and everything seems to work. For anyone who want to test this code (with an EU gateway), just download the |
@syssi, @rytilahti could you revieuw this PR? |
@frenck / @MartinHjelmare this is ready for revieuw/merge |
Almost 😉 |
Finally all tests pass, sorry about that. |
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
…e-assistant into Miio_eu_gateway
@MartinHjelmare I processed all comments, any more feedback? |
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!
@frenck could you also revieuw/merge? |
Taking a look now! |
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.
Awesome! This is going to make it so much easier for people 🥇
Breaking change
Proposed change
Add support for subdevices of the EU gateway through getting the subdevice list from the mi cloud.
This adds an options flow and adds micloud==0.3 to the requirements.
Type of change
Example entry for
configuration.yaml
:Config flow
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: