Add Config Flow support, Device Registry support, available property to vizio component#30653
Conversation
…o value that caused error
|
OK so I removed the |
…ion names and docstrings to be more accurate
|
|
MartinHjelmare
left a comment
There was a problem hiding this comment.
See eg how hue config flow does its checks. It uses the bridge id for unique_id but also uses host for checking same entry in the import step.
…ates, set unique ID to serial, fixes based on review
|
figured out how to make options flow work so added that back in along with addressing your comments |
… patches to pytest fixtures and fix patch scoping
|
Thanks for all of the help and patience @MartinHjelmare , I'm learning a lot through this and hopefully this last push does it! |
|
I would like to submit a PR for a breaking change that changes the |
|
Also, I would request that this PR, as well as the changes to use |
|
It's just the PR that removed the warning suppression that is in the release branch. I think that's ok. The rest of the PRs will go out in the following release 0.105. |
…entity unload from tests, other misc changes from review
MartinHjelmare
left a comment
There was a problem hiding this comment.
Looks good! Let me know if you want to do the final improvement or save that for later.
|
@MartinHjelmare can you review this last change and make sure it was implemented the way you would expect? |
|
This should go out with my next PR which will also be a breaking change |
* upstream/dev: (82 commits) Add support for vacuums to Alexa. (home-assistant#30764) Refactor Ring data handling (home-assistant#30777) Restore unit_of_measurement from entity registry (home-assistant#30780) Update pyubee to 0.8 (home-assistant#30785) Update emulated_roku to 0.1.9 (home-assistant#30791) Add Config Flow support, Device Registry support, available property to vizio component (home-assistant#30653) Allow input_* and timer component setup without config (home-assistant#30772) Search: Add search to default config and don't resolve area (home-assistant#30762) [ci skip] Translation update Use storage based collections for Timer platform (home-assistant#30765) Upgrade youtube_dl to version 2020.01.15 (home-assistant#30767) Whitelist Frenck for release Hass.io allow to reset password with CLI (home-assistant#30755) Revert home-assistant#29701 (home-assistant#30766) Add Safe Mode (home-assistant#30723) Update Ring to 0.6.0 (home-assistant#30748) Add support for the voltage sensor on the greeneye GEM (home-assistant#30484) Fix supported_features in MQTT fan (home-assistant#28680) Fix small typo in alarmdotcom component (home-assistant#30758) bump aiokef to 0.2.5 which uses locks (home-assistant#30753) ...
Breaking Change:
The
viziointegration has moved from a platform level config entry to a top level config entry.the
nameparameter is an optional parameter. Before config flow, if you didn't provide a name, a default name was set and then HA would auto assign entity ID's based on the name, egvizio_smartcastandvizio_smartcast_2. Once config flow is available, the names have to be unique otherwise import will failDescription:
availableproperty to handle disconnectsNOTE: I also removed a bunch of line breaks I added in a recent PR because
pydocstyledidn't like itPull request in home-assistant.io: home-assistant/home-assistant.io#11704
Example entry for
configuration.yaml(if applicable):Previously:
Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest.requirements_all.txtby runningpython3 -m script.gen_requirements_all..coveragerc.If the code does not interact with devices: