Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for Hyperion integration."""
2 
3 CONF_AUTH_ID = "auth_id"
4 CONF_CREATE_TOKEN = "create_token"
5 CONF_INSTANCE = "instance"
6 CONF_INSTANCE_CLIENTS = "INSTANCE_CLIENTS"
7 CONF_ON_UNLOAD = "ON_UNLOAD"
8 CONF_PRIORITY = "priority"
9 CONF_ROOT_CLIENT = "ROOT_CLIENT"
10 CONF_EFFECT_HIDE_LIST = "effect_hide_list"
11 CONF_EFFECT_SHOW_LIST = "effect_show_list"
12 
13 DEFAULT_NAME = "Hyperion"
14 DEFAULT_ORIGIN = "Home Assistant"
15 DEFAULT_PRIORITY = 128
16 
17 DOMAIN = "hyperion"
18 
19 HYPERION_MANUFACTURER_NAME = "Hyperion"
20 HYPERION_MODEL_NAME = f"{HYPERION_MANUFACTURER_NAME}-NG"
21 HYPERION_RELEASES_URL = "https://github.com/hyperion-project/hyperion.ng/releases"
22 HYPERION_VERSION_WARN_CUTOFF = "2.0.0-alpha.9"
23 
24 SIGNAL_INSTANCE_ADD = f"{DOMAIN}_instance_add_signal.{{}}"
25 SIGNAL_INSTANCE_REMOVE = f"{DOMAIN}_instance_remove_signal.{{}}"
26 SIGNAL_ENTITY_REMOVE = f"{DOMAIN}_entity_remove_signal.{{}}"
27 
28 TYPE_HYPERION_CAMERA = "hyperion_camera"
29 TYPE_HYPERION_LIGHT = "hyperion_light"
30 TYPE_HYPERION_COMPONENT_SWITCH_BASE = "hyperion_component_switch"
31 
32 TYPE_HYPERION_SENSOR_BASE = "hyperion_sensor"
33 TYPE_HYPERION_SENSOR_VISIBLE_PRIORITY = "visible_priority"