mirror of
https://github.com/home-assistant/core.git
synced 2026-06-06 07:26:58 +01:00
27 lines
784 B
Python
27 lines
784 B
Python
"""Constants for the BSB-LAN integration."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
from typing import Final
|
|
|
|
# Integration domain
|
|
DOMAIN: Final = "bsblan"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
SCAN_INTERVAL = timedelta(seconds=12) # Legacy interval, kept for compatibility
|
|
SCAN_INTERVAL_FAST = timedelta(seconds=12) # For state/sensor data
|
|
SCAN_INTERVAL_SLOW = timedelta(minutes=5) # For config data
|
|
|
|
# Services
|
|
DATA_BSBLAN_CLIENT: Final = "bsblan_client"
|
|
|
|
ATTR_TARGET_TEMPERATURE: Final = "target_temperature"
|
|
ATTR_INSIDE_TEMPERATURE: Final = "inside_temperature"
|
|
ATTR_OUTSIDE_TEMPERATURE: Final = "outside_temperature"
|
|
|
|
CONF_PASSKEY: Final = "passkey"
|
|
CONF_HEATING_CIRCUITS: Final = "heating_circuits"
|
|
|
|
DEFAULT_HEATING_CIRCUITS: Final = (1,)
|
|
DEFAULT_PORT: Final = 80
|