2020-05-10 02:16:21 +00:00
|
|
|
"""Constants for the BSB-Lan integration."""
|
2022-10-18 10:06:51 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from datetime import timedelta
|
|
|
|
import logging
|
2021-07-19 17:30:52 +00:00
|
|
|
from typing import Final
|
2020-05-10 02:16:21 +00:00
|
|
|
|
2022-10-18 10:06:51 +00:00
|
|
|
# Integration domain
|
|
|
|
DOMAIN: Final = "bsblan"
|
|
|
|
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
SCAN_INTERVAL = timedelta(seconds=12)
|
2020-05-10 02:16:21 +00:00
|
|
|
|
2022-10-18 10:06:51 +00:00
|
|
|
# Services
|
2021-07-19 17:30:52 +00:00
|
|
|
DATA_BSBLAN_CLIENT: Final = "bsblan_client"
|
2020-05-10 02:16:21 +00:00
|
|
|
|
2021-07-19 17:30:52 +00:00
|
|
|
ATTR_TARGET_TEMPERATURE: Final = "target_temperature"
|
|
|
|
ATTR_INSIDE_TEMPERATURE: Final = "inside_temperature"
|
|
|
|
ATTR_OUTSIDE_TEMPERATURE: Final = "outside_temperature"
|
2020-05-10 02:16:21 +00:00
|
|
|
|
2022-10-18 10:06:51 +00:00
|
|
|
CONF_PASSKEY: Final = "passkey"
|
2020-05-10 02:16:21 +00:00
|
|
|
|
2022-10-18 10:06:51 +00:00
|
|
|
CONF_DEVICE_IDENT: Final = "RVS21.831F/127"
|
2020-05-10 02:16:21 +00:00
|
|
|
|
2022-10-18 10:06:51 +00:00
|
|
|
DEFAULT_PORT: Final = 80
|