goldair_fan.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: Goldair fan
  2. legacy_type: fan
  3. primary_entity:
  4. entity: fan
  5. translation_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: 0
  15. max: 12
  16. mapping:
  17. - scale: 0.12
  18. constraint: preset_mode
  19. conditions:
  20. - dps_val: nature
  21. step: 4
  22. - dps_val: sleep
  23. step: 4
  24. - id: 3
  25. type: string
  26. mapping:
  27. - dps_val: normal
  28. value: normal
  29. - dps_val: nature
  30. value: nature
  31. - dps_val: sleep
  32. value: sleep
  33. name: preset_mode
  34. - id: 8
  35. type: boolean
  36. name: oscillate
  37. - id: 11
  38. type: string
  39. name: timer
  40. secondary_entities:
  41. - entity: light
  42. name: Display
  43. category: config
  44. dps:
  45. - id: 101
  46. type: boolean
  47. mapping:
  48. - dps_val: false
  49. icon: "mdi:led-off"
  50. - dps_val: true
  51. icon: "mdi:led-on"
  52. name: switch