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:
1 parent
ee74f95371
commit
463d949ee0
9 files changed
+144
-31
No files matched your search
@@ -24,6 +24,9 @@ ZEROCONF = {
|
||||
"_hap._tcp.local.": [
|
||||
"homekit_controller"
|
||||
],
|
||||
"_viziocast._tcp.local.": [
|
||||
"vizio"
|
||||
],
|
||||
"_wled._tcp.local.": [
|
||||
"wled"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user