goldair_fan.yaml 956 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. name: Goldair fan
  2. legacy_type: fan
  3. primary_entity:
  4. entity: fan
  5. translation_only_key: fan_with_presets
  6. dps:
  7. - id: 1
  8. type: boolean
  9. name: switch
  10. - id: 2
  11. type: integer
  12. name: speed
  13. range:
  14. min: 1
  15. max: 12
  16. mapping:
  17. - constraint: preset_mode
  18. conditions:
  19. - dps_val: nature
  20. step: 4
  21. - dps_val: sleep
  22. step: 4
  23. - id: 3
  24. type: string
  25. mapping:
  26. - dps_val: normal
  27. value: normal
  28. - dps_val: nature
  29. value: nature
  30. - dps_val: sleep
  31. value: sleep
  32. name: preset_mode
  33. - id: 8
  34. type: boolean
  35. name: oscillate
  36. - id: 11
  37. type: string
  38. name: timer
  39. secondary_entities:
  40. - entity: light
  41. translation_key: display
  42. category: config
  43. dps:
  44. - id: 101
  45. type: boolean
  46. name: switch