Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Palazzetti integration."""
2 
3 from datetime import timedelta
4 import logging
5 from typing import Final
6 
7 DOMAIN: Final = "palazzetti"
8 PALAZZETTI: Final = "Palazzetti"
9 LOGGER = logging.getLogger(__package__)
10 SCAN_INTERVAL = timedelta(seconds=30)
11 ON_OFF_NOT_AVAILABLE = "on_off_not_available"
12 ERROR_INVALID_FAN_MODE = "invalid_fan_mode"
13 ERROR_INVALID_TARGET_TEMPERATURE = "invalid_target_temperature"
14 ERROR_CANNOT_CONNECT = "cannot_connect"
15 
16 FAN_SILENT: Final = "silent"
17 FAN_HIGH: Final = "high"
18 FAN_AUTO: Final = "auto"
19 FAN_MODES: Final = [FAN_SILENT, "1", "2", "3", "4", "5", FAN_HIGH, FAN_AUTO]