Add Xiaomi Miio fan config flow#46866
Conversation
|
This pull request needs to be manually signed off by @home-assistant/core before it can get merged. |
|
Hey there @rytilahti, @syssi, mind taking a look at this pull request as its been labeled with an integration ( |
|
Not a requirement for this PR, but this integration should get updated to the new fan entity model at some point https://developers.home-assistant.io/docs/core/entity/fan |
|
@bdraco thanks for the input! |
|
@MartinHjelmare Could you also revieuw this Xiaomi Miio Fan config flow (since you did the other Miio config flows)? |
|
Shouldn't humidifiers use a humidifier platform instead of a fan platform? |
|
@bieniu You are totally right but this isn't the scope of this PR. |
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>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
…G/home-assistant into Miio_fan_config_flow
|
@MartinHjelmare thanks for the feedback |
Breaking change
The Xiaomi Miio Fan platform now uses Config Flow, the old yaml config is imported to a Config Entry, please remove the yaml config once you see the
Loading Xiaomi Miio Fan via platform setup is deprecated. Please remove it from your configuration.warning in the log.Proposed change
Add config flow for the Xiaomi Miio Fan platform
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: