keyun_rgb_ceilingfan.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. name: Ceiling fan
  2. products:
  3. - id: lonfamz9k72cpjgq
  4. manufacturer: Keyun
  5. model: MKCFE002
  6. entities:
  7. - entity: fan
  8. translation_only_key: fan_with_presets
  9. dps:
  10. - id: 60
  11. type: boolean
  12. name: switch
  13. - id: 61
  14. type: string
  15. name: preset_mode
  16. mapping:
  17. - dps_val: fresh
  18. value: fresh
  19. - dps_val: nature
  20. value: nature
  21. - id: 62
  22. type: integer
  23. name: speed
  24. range:
  25. min: 1
  26. max: 100
  27. - id: 63
  28. type: string
  29. name: direction
  30. - id: 106
  31. type: boolean
  32. name: oscillate
  33. - entity: light
  34. dps:
  35. - id: 20
  36. type: boolean
  37. name: switch
  38. - id: 21
  39. name: color_mode
  40. type: string
  41. mapping:
  42. - dps_val: white
  43. value: color_temp
  44. - dps_val: colour
  45. value: hs
  46. - dps_val: scene
  47. value: Scene
  48. - dps_val: music
  49. value: Music
  50. - id: 22
  51. name: brightness
  52. type: integer
  53. range:
  54. min: 10
  55. max: 1000
  56. - id: 23
  57. name: color_temp
  58. type: integer
  59. range:
  60. min: 0
  61. max: 1000
  62. mapping:
  63. - target_range:
  64. min: 3000
  65. max: 6000
  66. - id: 24
  67. name: rgbhsv
  68. type: hex
  69. format:
  70. - name: h
  71. bytes: 2
  72. range:
  73. min: 0
  74. max: 360
  75. - name: s
  76. bytes: 2
  77. range:
  78. min: 0
  79. max: 1000
  80. - name: v
  81. bytes: 2
  82. range:
  83. min: 0
  84. max: 1000
  85. - id: 25
  86. type: hex
  87. name: scene_data
  88. - id: 28
  89. type: string
  90. optional: true
  91. name: control_data
  92. - id: 33
  93. type: string
  94. optional: true
  95. name: power_memory
  96. - id: 35
  97. type: string
  98. optional: true
  99. name: switch_gradient
  100. - id: 51
  101. type: string
  102. optional: true
  103. name: mix_rgbcw
  104. - id: 121
  105. type: string
  106. optional: true
  107. name: music_data
  108. - entity: switch
  109. name: Do not disturb
  110. category: config
  111. dps:
  112. - id: 34
  113. type: boolean
  114. name: switch
  115. - entity: sensor
  116. name: Fan timer
  117. class: duration
  118. category: diagnostic
  119. dps:
  120. - id: 64
  121. type: integer
  122. name: sensor
  123. unit: min
  124. - entity: switch
  125. name: Beep
  126. icon: "mdi:volume-high"
  127. category: config
  128. dps:
  129. - id: 103
  130. type: boolean
  131. name: switch
  132. - entity: light
  133. name: White
  134. category: config
  135. dps:
  136. - id: 107
  137. type: boolean
  138. name: switch
  139. - entity: light
  140. name: Color
  141. category: config
  142. dps:
  143. - id: 108
  144. type: boolean
  145. name: switch
  146. - entity: number
  147. translation_key: timer
  148. class: duration
  149. category: config
  150. dps:
  151. - id: 112
  152. type: integer
  153. name: value
  154. optional: true
  155. unit: min
  156. range:
  157. min: 0
  158. max: 86400
  159. mapping:
  160. - scale: 60
  161. step: 60
  162. - entity: switch
  163. name: Main switch
  164. category: config
  165. dps:
  166. - id: 119
  167. type: boolean
  168. name: switch