Coverage for python_carrier_infinity/types.py: 100%
21 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-08-19 01:56 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2023-08-19 01:56 +0000
1from enum import Enum
4class ActivityName(Enum):
5 """Represents an activity"""
7 HOME = "home"
8 AWAY = "away"
9 SLEEP = "sleep"
10 WAKE = "wake"
11 MANUAL = "manual"
14class FanSpeed(Enum):
15 """Represents the fan speed"""
17 OFF = "off"
18 LOW = "low"
19 MED = "med"
20 HIGH = "high"
23class Mode(Enum):
24 """Represents the HVAC mode"""
26 OFF = "off"
27 COOL = "cool"
28 HEAT = "heat"
29 AUTO = "auto"
30 FAN_ONLY = "fanonly"
33class TemperatureUnits(Enum):
34 """Represents the unit of temperature"""
36 CELCIUS = "C"
37 FARENHEIT = "F"