mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: VandeurenGlenn <8685280+VandeurenGlenn@users.noreply.github.com>
24 lines
469 B
Python
24 lines
469 B
Python
"""Constants for niko_home_control integration."""
|
|
|
|
from enum import IntEnum
|
|
import logging
|
|
|
|
from homeassistant.components.climate import HVACMode
|
|
|
|
DOMAIN = "niko_home_control"
|
|
_LOGGER = logging.getLogger(__name__)
|
|
|
|
NIKO_HOME_CONTROL_THERMOSTAT_MODES_MAP = {
|
|
HVACMode.OFF: 3,
|
|
HVACMode.COOL: 4,
|
|
HVACMode.AUTO: 5,
|
|
}
|
|
|
|
|
|
class NikoHomeControlThermostatModes(IntEnum):
|
|
"""Enum for Niko Home Control thermostat modes."""
|
|
|
|
OFF = 3
|
|
COOL = 4
|
|
AUTO = 5
|