Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Airzone integration."""
2 
3 from typing import Final
4 
5 from aioairzone.common import TemperatureUnit
6 
7 from homeassistant.const import UnitOfTemperature
8 
9 DOMAIN: Final = "airzone"
10 MANUFACTURER: Final = "Airzone"
11 
12 AIOAIRZONE_DEVICE_TIMEOUT_SEC: Final = 10
13 API_TEMPERATURE_STEP: Final = 0.5
14 
15 TEMP_UNIT_LIB_TO_HASS: Final[dict[TemperatureUnit, str]] = {
16  TemperatureUnit.CELSIUS: UnitOfTemperature.CELSIUS,
17  TemperatureUnit.FAHRENHEIT: UnitOfTemperature.FAHRENHEIT,
18 }