hass-core/homeassistant/generated/zeroconf.py
Raman Gupta 463d949ee0 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
2020-01-22 10:13:35 +01:00

43 lines
736 B
Python

"""Automatically generated by hassfest.
To update, run python3 -m script.hassfest
"""
# fmt: off
ZEROCONF = {
"_axis-video._tcp.local.": [
"axis"
],
"_coap._udp.local.": [
"tradfri"
],
"_elg._tcp.local.": [
"elgato"
],
"_esphomelib._tcp.local.": [
"esphome"
],
"_googlecast._tcp.local.": [
"cast"
],
"_hap._tcp.local.": [
"homekit_controller"
],
"_viziocast._tcp.local.": [
"vizio"
],
"_wled._tcp.local.": [
"wled"
]
}
HOMEKIT = {
"BSB002": "hue",
"LIFX": "lifx",
"Netatmo Relay": "netatmo",
"Presence": "netatmo",
"TRADFRI": "tradfri",
"Welcome": "netatmo",
"Wemo": "wemo"
}