Add zeroconf discovery support for vizio integration (#30949)

* add missing tests

* readd removed test

* add zeroconf discovery support for vizio integration

* no mock_coro_func needed

* add reasonable timeout and don't log exceptions from pyvizio due to timeout

* add test to test options update and bump pyvizio to avoid timeout issues

* update requirements_*

* fix gaps in coverage

* change return hint for async_setup_entry

* use source variables instead of strings

* only get unique ID if about to create entry

* update based on review

* Revert "update based on review"

This reverts commit 0d612a90eb7d02c92061f902973e527267e3110a.

* f-string

* fix last review

* revert cleanup changes to simplify PR

* remove unnecessary ConfigFlow object variables to simplify logic

* revert cleanup changes to make review easier, noted for future cleanup

* revert cleanup changes to make review easier, noted for future cleanup

* move zeroconf service type constant to test module
This commit is contained in:
Raman Gupta authored and Martin Hjelmare committed 2020-01-22 10:13:35 +01:00
1 parent ee74f95371
commit 463d949ee0
9 files changed
+144 -31

No files matched your search

+1 -2
View File
@@ -30,8 +30,7 @@
"init": {
"title": "Update Vizo SmartCast Options",
"data": {
"volume_step": "Volume Step Size",
"timeout": "API Request Timeout (seconds)"
"volume_step": "Volume Step Size"
}
}
}