Add hyperion config options flow (#43673)

This commit is contained in:
Dermot Duffy 2020-11-30 09:38:52 -08:00 committed by GitHub
parent 14d1466400
commit 7ad2a6be30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 2213 additions and 156 deletions

View 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"