lexy_f501_fan.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. name: Fan
  2. products:
  3. - id: unqopjvzu4ut6hb0
  4. manufacturer: Lexy
  5. model: F501
  6. entities:
  7. - entity: fan
  8. translation_only_key: fan_with_presets
  9. dps:
  10. - id: 1
  11. name: switch
  12. type: boolean
  13. - id: 2
  14. name: preset_mode
  15. type: string
  16. mapping:
  17. - dps_val: "forestwindhigh"
  18. value: strong
  19. - dps_val: "forestwindlow"
  20. value: nature
  21. - dps_val: "sleepwindlow"
  22. value: sleep
  23. - dps_val: "sleepwindhigh"
  24. value: fresh
  25. - id: 4
  26. name: oscillate
  27. type: string
  28. mapping:
  29. - dps_val: "off"
  30. value: false
  31. - dps_val: "30"
  32. value: true
  33. - dps_val: "60"
  34. value: true
  35. - dps_val: "90"
  36. value: true
  37. - dps_val: "360positive"
  38. value: true
  39. - dps_val: "360negative"
  40. value: true
  41. - id: 6
  42. name: timer
  43. type: integer
  44. - id: 102
  45. name: speed
  46. type: integer
  47. range:
  48. min: 1
  49. max: 15
  50. - entity: light
  51. category: config
  52. dps:
  53. - id: 9
  54. name: switch
  55. type: boolean
  56. mapping:
  57. - dps_val: true
  58. icon: "mdi:led-on"
  59. - dps_val: false
  60. icon: "mdi:led-off"
  61. - entity: lock
  62. translation_key: child_lock
  63. category: config
  64. dps:
  65. - id: 16
  66. name: lock
  67. type: boolean
  68. - entity: switch
  69. name: Sound
  70. category: config
  71. dps:
  72. - id: 17
  73. name: switch
  74. type: boolean
  75. mapping:
  76. - dps_val: true
  77. icon: "mdi:volume-high"
  78. - dps_val: false
  79. icon: "mdi:volume-mute"
  80. - entity: number
  81. translation_key: timer
  82. class: duration
  83. category: config
  84. dps:
  85. - id: 6
  86. type: integer
  87. name: value
  88. unit: h
  89. range:
  90. min: 0
  91. max: 7