Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the tolo integration."""
2 
3 from enum import Enum
4 
5 from tololib import AromaTherapySlot as ToloAromaTherapySlot, LampMode as ToloLampMode
6 
7 DOMAIN = "tolo"
8 DEFAULT_NAME = "TOLO Sauna"
9 
10 DEFAULT_RETRY_TIMEOUT = 1
11 DEFAULT_RETRY_COUNT = 3
12 
13 
14 class AromaTherapySlot(Enum):
15  """Mapping to TOLO Aroma Therapy Slot."""
16 
17  A = ToloAromaTherapySlot.A
18  B = ToloAromaTherapySlot.B
19 
20 
21 class LampMode(Enum):
22  """Mapping to TOLO Lamp Mode."""
23 
24  MANUAL = ToloLampMode.MANUAL
25  AUTOMATIC = ToloLampMode.AUTOMATIC