evaporative_humidifier.py 537 B

12345678910111213141516171819202122232425262728293031323334
  1. from __future__ import annotations
  2. from enum import Enum
  3. class HumidifierMode(Enum):
  4. HIGH = 1
  5. MEDIUM = 2
  6. LOW = 3
  7. QUIET = 4
  8. TARGET_HUMIDITY = 5
  9. SLEEP = 6
  10. AUTO = 7
  11. DRYING_FILTER = 8
  12. class HumidifierWaterLevel(Enum):
  13. EMPTY = 0
  14. LOW = 1
  15. MEDIUM = 2
  16. HIGH = 3
  17. OVER_HUMIDIFY_PROTECTION_MODES = {
  18. HumidifierMode.QUIET,
  19. HumidifierMode.LOW,
  20. HumidifierMode.MEDIUM,
  21. HumidifierMode.HIGH,
  22. }
  23. TARGET_HUMIDITY_MODES = {
  24. HumidifierMode.SLEEP,
  25. HumidifierMode.TARGET_HUMIDITY,
  26. }