2019-05-13 08:16:55 +00:00
|
|
|
"""Consts for Cast integration."""
|
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
DOMAIN = "cast"
|
2019-09-10 20:05:46 +00:00
|
|
|
|
|
|
|
# Stores a threading.Lock that is held by the internal pychromecast discovery.
|
|
|
|
INTERNAL_DISCOVERY_RUNNING_KEY = "cast_discovery_running"
|
|
|
|
# Stores UUIDs of cast devices that were added as entities. Doesn't store
|
|
|
|
# None UUIDs.
|
|
|
|
ADDED_CAST_DEVICES_KEY = "cast_added_cast_devices"
|
|
|
|
# Stores an audio group manager.
|
|
|
|
CAST_MULTIZONE_MANAGER_KEY = "cast_multizone_manager"
|
2021-03-01 23:18:18 +00:00
|
|
|
# Store a CastBrowser
|
|
|
|
CAST_BROWSER_KEY = "cast_browser"
|
2019-09-10 20:05:46 +00:00
|
|
|
|
|
|
|
# Dispatcher signal fired with a ChromecastInfo every time we discover a new
|
|
|
|
# Chromecast or receive it through configuration
|
|
|
|
SIGNAL_CAST_DISCOVERED = "cast_discovered"
|
|
|
|
|
|
|
|
# Dispatcher signal fired with a ChromecastInfo every time a Chromecast is
|
|
|
|
# removed
|
|
|
|
SIGNAL_CAST_REMOVED = "cast_removed"
|
2019-09-11 18:34:10 +00:00
|
|
|
|
|
|
|
# Dispatcher signal fired when a Chromecast should show a Home Assistant Cast view.
|
|
|
|
SIGNAL_HASS_CAST_SHOW_VIEW = "cast_show_view"
|
2021-03-01 23:18:18 +00:00
|
|
|
|
2021-03-25 13:06:01 +00:00
|
|
|
CONF_IGNORE_CEC = "ignore_cec"
|
2021-03-01 23:18:18 +00:00
|
|
|
CONF_KNOWN_HOSTS = "known_hosts"
|
2021-03-25 13:06:01 +00:00
|
|
|
CONF_UUID = "uuid"
|