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:
parent
ee74f95371
commit
463d949ee0
9 changed files with 144 additions and 31 deletions
|
@ -30,6 +30,7 @@ CONF_VOLUME_STEP = "volume_step"
|
|||
|
||||
DEFAULT_DEVICE_CLASS = DEVICE_CLASS_TV
|
||||
DEFAULT_NAME = "Vizio SmartCast"
|
||||
DEFAULT_TIMEOUT = 8
|
||||
DEFAULT_VOLUME_STEP = 1
|
||||
|
||||
DEVICE_ID = "pyvizio"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue