Add config flow to nws and remove yaml configuration#34267
Add config flow to nws and remove yaml configuration#34267bdraco merged 7 commits intohome-assistant:devfrom
Conversation
|
@MatthewFlamm Looks good, just a few minor comments. I'm testing it now |
|
How do I clean up the breaking change sections with #31398 so they make sense? |
|
You can tell I didn't carefully consider the information in the strings.json. These are all good suggestions and will clean them up later. |
|
Testing looks good |
|
I have pushed @balloob suggestion to move title under root, but it doesn't work in my testing. Am I doing something wrong? It works on my end the way it was originally. Can someone else test? |
|
The update to the frontend for that change (home-assistant/frontend#5546) has not been released yet as a dev release on the backend. |
|
I updated the breaking change section here so that it also encompasses the relevant pieces of the previous breaking change note. I see a lint error that didn't appear on my local dev environment that I will clear up tomorrow, and I'd like to test the strings.json change when the frontend version is updated on the backend. |
|
@MatthewFlamm Other then the |
Co-Authored-By: J. Nick Koston <nick@koston.org>
Co-Authored-By: J. Nick Koston <nick@koston.org>
5edfd8c to
ed9bb12
Compare
|
Not sure what is going on with the CI, but rebased on dev to see if the unrelated test fail will pass and CI will show up correctly. |
|
retesting... |
|
Config flow title isn't working but I suspect that is due to other changes outside of this. |
|
Config flow title isn't working but I suspect that is due to other changes outside of this. |
|
LGTM Verified I could add and remove the integration and the data looks sane |
|
Thanks for the quick and thorough review @bdraco. According to above the title needs frontend to be updated to work. I will definitely test when it gets applied at least in the beta release. |
Breaking change
YAML config longer supported for NWS integration, configuration is now done though UI. Two entities are now created for each configured entry, one for daynight and one for hourly. The
modeoption is no longer needed andnameoption is no longer supported.Proposed change
Brings NWS in line with ADR0010. This would be best to be done before 0.109 since NWS just switched to a component YAML configuration for 0.109. If implemented for 0.109, we avoid having two breaking changes.
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: