Add hyperion config options flow (#43673)
This commit is contained in:
parent
14d1466400
commit
7ad2a6be30
14 changed files with 2213 additions and 156 deletions
24
homeassistant/components/hyperion/const.py
Normal file
24
homeassistant/components/hyperion/const.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
"""Constants for Hyperion integration."""
|
||||
DOMAIN = "hyperion"
|
||||
|
||||
DEFAULT_NAME = "Hyperion"
|
||||
DEFAULT_ORIGIN = "Home Assistant"
|
||||
DEFAULT_PRIORITY = 128
|
||||
|
||||
CONF_AUTH_ID = "auth_id"
|
||||
CONF_CREATE_TOKEN = "create_token"
|
||||
CONF_INSTANCE = "instance"
|
||||
CONF_PRIORITY = "priority"
|
||||
|
||||
CONF_ROOT_CLIENT = "ROOT_CLIENT"
|
||||
CONF_ON_UNLOAD = "ON_UNLOAD"
|
||||
|
||||
SIGNAL_INSTANCES_UPDATED = f"{DOMAIN}_instances_updated_signal." "{}"
|
||||
SIGNAL_INSTANCE_REMOVED = f"{DOMAIN}_instance_removed_signal." "{}"
|
||||
|
||||
SOURCE_IMPORT = "import"
|
||||
|
||||
HYPERION_VERSION_WARN_CUTOFF = "2.0.0-alpha.9"
|
||||
HYPERION_RELEASES_URL = "https://github.com/hyperion-project/hyperion.ng/releases"
|
||||
|
||||
TYPE_HYPERION_LIGHT = "hyperion_light"
|
Loading…
Add table
Add a link
Reference in a new issue