Fix Xiaomi Miio flow unique_id for non discovery flows#47222
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 ( |
|
This should not be needed, as user setups always override discovery. Additionally, the issue that was tried to fix here, turned out not to be an issue. @starkillerOG I suggest on closing this PR. |
|
As frenck mentioned, this turned out not to be an issue but some unrelated network problem. |
|
@frenck @MartinHjelmare note that this function is used for both the import, discovery and user flow (they all use this same code). Schould we distinguis between import, discovery and user flows, or can they all have raise_on_progress=False |
|
Import and user should not raise on progress. Discovery should raise on progress (the default). |
|
@MartinHjelmare on a unrelated note, I am guessing they have to wait untill the next HomeAssistant version, or can they still be incorperated in the beta? |
Alright, just a moment, I will adjust this |
|
I think they can wait for the next cycle. |
|
We don't need to adjust anything. The discovery flow has already set unique_id. |
|
@MartinHjelmare yea you are right, stupid of me |
Breaking change
Proposed change
Attempt 2 to fix Miio import
Type of change
Example entry for
configuration.yaml:# Example configuration.yamlAdditional 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: