Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the BSB-Lan integration."""
2 
3 from __future__ import annotations
4 
5 from datetime import timedelta
6 import logging
7 from typing import Final
8 
9 # Integration domain
10 DOMAIN: Final = "bsblan"
11 
12 LOGGER = logging.getLogger(__package__)
13 SCAN_INTERVAL = timedelta(seconds=12)
14 
15 # Services
16 DATA_BSBLAN_CLIENT: Final = "bsblan_client"
17 
18 ATTR_TARGET_TEMPERATURE: Final = "target_temperature"
19 ATTR_INSIDE_TEMPERATURE: Final = "inside_temperature"
20 ATTR_OUTSIDE_TEMPERATURE: Final = "outside_temperature"
21 
22 CONF_PASSKEY: Final = "passkey"
23 
24 DEFAULT_PORT: Final = 80