Files
home-assistant-core/homeassistant/components/tolo/const.py
T
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00

26 lines
524 B
Python

"""Constants for the tolo integration."""
from enum import Enum
from tololib import AromaTherapySlot as ToloAromaTherapySlot, LampMode as ToloLampMode
DOMAIN = "tolo"
DEFAULT_NAME = "TOLO Sauna"
DEFAULT_RETRY_TIMEOUT = 1
DEFAULT_RETRY_COUNT = 3
class AromaTherapySlot(Enum):
"""Mapping to TOLO Aroma Therapy Slot."""
A = ToloAromaTherapySlot.A
B = ToloAromaTherapySlot.B
class LampMode(Enum):
"""Mapping to TOLO Lamp Mode."""
MANUAL = ToloLampMode.MANUAL
AUTOMATIC = ToloLampMode.AUTOMATIC