lexy_f501_fan.yaml 2.0 KB

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