mirror of https://github.com/home-assistant/core
19 lines
487 B
Python
19 lines
487 B
Python
"""Constants for the Airzone integration."""
|
|
|
|
from typing import Final
|
|
|
|
from aioairzone.common import TemperatureUnit
|
|
|
|
from homeassistant.const import UnitOfTemperature
|
|
|
|
DOMAIN: Final = "airzone"
|
|
MANUFACTURER: Final = "Airzone"
|
|
|
|
AIOAIRZONE_DEVICE_TIMEOUT_SEC: Final = 10
|
|
API_TEMPERATURE_STEP: Final = 0.5
|
|
|
|
TEMP_UNIT_LIB_TO_HASS: Final[dict[TemperatureUnit, str]] = {
|
|
TemperatureUnit.CELSIUS: UnitOfTemperature.CELSIUS,
|
|
TemperatureUnit.FAHRENHEIT: UnitOfTemperature.FAHRENHEIT,
|
|
}
|