Files
Dual-PID/Home Assistant Erweiterung/custom_components/dual_pid/const.py
T
raw-designs 453644816f Initiale Bereitstellung
Initiale Bereitstellung der aktuellen Version auf Gitea
2026-07-10 18:13:43 +02:00

46 lines
1.2 KiB
Python

from __future__ import annotations
from homeassistant.const import CONF_HOST, CONF_NAME, CONF_PORT, Platform
DOMAIN = "dual_pid"
CONF_SCAN_INTERVAL = "scan_interval"
DEFAULT_NAME = "Dual PID"
DEFAULT_PORT = 80
DEFAULT_SCAN_INTERVAL = 10
DEFAULT_TIMEOUT = 10
MANUFACTURER = "Thomas Mueller"
MODEL = "Dual PID Espresso Controller"
PLATFORMS: list[Platform] = [
Platform.SENSOR,
Platform.BINARY_SENSOR,
Platform.SWITCH,
Platform.BUTTON,
]
DATA_API = "api"
DATA_COORDINATOR = "coordinator"
STATUS_KEY = "status"
STATUS_TEXT_KEY = "statusText"
TIME_SYNCED_KEY = "timeSynced"
CURRENT_TIME_KEY = "currentTime"
STANDBY_ACTIVE_KEY = "standbyActive"
ECO_ACTIVE_KEY = "ecoActive"
MAINTENANCE_ACTIVE_KEY = "maintenanceActive"
SHOT_ACTIVE_KEY = "shotActive"
STEAM_CIRCUIT_ACTIVE_KEY = "steamCircuitActive"
FLUSH_ACTIVE_KEY = "flushActive"
STEAM_FLUSH_ACTIVE_KEY = "steamFlushActive"
STEAM_DELAY_ACTIVE_KEY = "steamDelayActive"
STEAM_HEAT_DISABLED_KEY = "steamHeatDisabled"
WATER_TEMP_KEY = "waterTemp"
WATER_TARGET_KEY = "waterTarget"
STEAM_TEMP_KEY = "steamTemp"
STEAM_TARGET_KEY = "steamTarget"
CONFIG_FIELDS = (CONF_NAME, CONF_HOST, CONF_PORT, CONF_SCAN_INTERVAL)