* add device_info property and move component to async * use new VizioAsync class to have proper async support * remove hass from VizioDevice init since it is not needed * update requirements_all * missed type hint * updates based on review * pyvizio version bump * additional fixes based on review * mistake in last commit * remove device_info property because it can't be used unless this integration has config flow support
13 lines
261 B
Python
13 lines
261 B
Python
"""Constants used by vizio component."""
|
|
|
|
CONF_VOLUME_STEP = "volume_step"
|
|
|
|
DEFAULT_NAME = "Vizio SmartCast"
|
|
DEFAULT_VOLUME_STEP = 1
|
|
DEFAULT_DEVICE_CLASS = "tv"
|
|
DEVICE_ID = "pyvizio"
|
|
|
|
DOMAIN = "vizio"
|
|
|
|
ICON = {"tv": "mdi:television", "soundbar": "mdi:speaker"}
|