lexy_f501_fan.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. name: Lexy F501 fan
  2. products:
  3. - id: unqopjvzu4ut6hb0
  4. primary_entity:
  5. entity: fan
  6. dps:
  7. - id: 1
  8. name: switch
  9. type: boolean
  10. - id: 2
  11. name: preset_mode
  12. type: string
  13. mapping:
  14. - dps_val: "forestwindhigh"
  15. value: Forest High
  16. - dps_val: "forestwindlow"
  17. value: Forest Low
  18. - dps_val: "sleepwindlow"
  19. value: Sleep Low
  20. - dps_val: "sleepwindhigh"
  21. value: Sleep High
  22. - id: 4
  23. name: oscillate
  24. type: string
  25. mapping:
  26. - dps_val: "off"
  27. value: false
  28. - dps_val: "30"
  29. value: true
  30. - dps_val: "60"
  31. value: true
  32. - dps_val: "90"
  33. value: true
  34. - dps_val: "360positive"
  35. value: true
  36. - dps_val: "360negative"
  37. value: true
  38. - id: 6
  39. name: timer
  40. type: integer
  41. - id: 102
  42. name: speed
  43. type: integer
  44. range:
  45. min: 1
  46. max: 15
  47. mapping:
  48. - scale: 0.15
  49. secondary_entities:
  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. name: Child lock
  63. category: config
  64. dps:
  65. - id: 16
  66. name: lock
  67. type: boolean
  68. mapping:
  69. - dps_val: true
  70. icon: "mdi:hand-back-right-off"
  71. - dps_val: false
  72. icon: "mdi:hand-back-right"
  73. - entity: switch
  74. name: Sound
  75. category: config
  76. dps:
  77. - id: 17
  78. name: switch
  79. type: boolean
  80. mapping:
  81. - dps_val: true
  82. icon: "mdi:volume-high"
  83. - dps_val: false
  84. icon: "mdi:volume-mute"
  85. - entity: number
  86. name: Timer
  87. icon: "mdi:timer"
  88. category: config
  89. dps:
  90. - id: 6
  91. type: integer
  92. name: value
  93. unit: h
  94. range:
  95. min: 0
  96. max: 7