mirror of
https://github.com/home-assistant/core.git
synced 2026-09-08 06:31:35 +01:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
24 lines
710 B
Python
24 lines
710 B
Python
"""Constants for the Nobø Ecohub integration."""
|
|
|
|
from typing import Final
|
|
|
|
DOMAIN = "nobo_hub"
|
|
|
|
CONF_SERIAL = "serial"
|
|
CONF_OVERRIDE_TYPE = "override_type"
|
|
OVERRIDE_TYPE_CONSTANT = "constant"
|
|
OVERRIDE_TYPE_NOW = "now"
|
|
|
|
# Hub serial: 9-digit batch prefix + 3-digit per-hub suffix. Discovery
|
|
# broadcasts only the prefix; the user supplies the suffix.
|
|
SERIAL_PREFIX_LENGTH = 9
|
|
SERIAL_LENGTH = SERIAL_PREFIX_LENGTH + 3
|
|
|
|
NOBO_MANUFACTURER = "Glen Dimplex Nordic AS"
|
|
ATTR_HARDWARE_VERSION: Final = "hardware_version"
|
|
ATTR_SOFTWARE_VERSION: Final = "software_version"
|
|
ATTR_SERIAL: Final = "serial"
|
|
ATTR_TEMP_COMFORT_C: Final = "temp_comfort_c"
|
|
ATTR_TEMP_ECO_C: Final = "temp_eco_c"
|
|
ATTR_ZONE_ID: Final = "zone_id"
|