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

1from enum import Enum 

2 

3 

4class ActivityName(Enum): 

5 """Represents an activity""" 

6 

7 HOME = "home" 

8 AWAY = "away" 

9 SLEEP = "sleep" 

10 WAKE = "wake" 

11 MANUAL = "manual" 

12 

13 

14class FanSpeed(Enum): 

15 """Represents the fan speed""" 

16 

17 OFF = "off" 

18 LOW = "low" 

19 MED = "med" 

20 HIGH = "high" 

21 

22 

23class Mode(Enum): 

24 """Represents the HVAC mode""" 

25 

26 OFF = "off" 

27 COOL = "cool" 

28 HEAT = "heat" 

29 AUTO = "auto" 

30 FAN_ONLY = "fanonly" 

31 

32 

33class TemperatureUnits(Enum): 

34 """Represents the unit of temperature""" 

35 

36 CELCIUS = "C" 

37 FARENHEIT = "F"