rgbcw_lightbulb_xld_cl002.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. name: RGBCW lightbulb
  2. products:
  3. - id: bfde31c920bcaa323azft2
  4. manufacturer: Xinled
  5. model: XLD-CL002
  6. entities:
  7. - entity: light
  8. dps:
  9. - id: 20
  10. type: boolean
  11. name: switch
  12. - id: 21
  13. type: string
  14. name: color_mode
  15. mapping:
  16. - dps_val: white
  17. value: color_temp
  18. - dps_val: colour
  19. value: hs
  20. - dps_val: scene
  21. value: Scene
  22. - dps_val: music
  23. value: Music
  24. - id: 22
  25. name: brightness
  26. type: integer
  27. optional: true
  28. range:
  29. min: 10
  30. max: 1000
  31. mapping:
  32. - dps_val: null
  33. value: 0
  34. - id: 23
  35. name: color_temp
  36. type: integer
  37. optional: true
  38. range:
  39. min: 0
  40. max: 1000
  41. mapping:
  42. - target_range:
  43. min: 2700
  44. max: 6500
  45. - id: 24
  46. name: rgbhsv
  47. type: hex
  48. optional: true
  49. format:
  50. - name: h
  51. bytes: 2
  52. range:
  53. min: 0
  54. max: 360
  55. - name: s
  56. bytes: 2
  57. range:
  58. min: 0
  59. max: 1000
  60. - name: v
  61. bytes: 2
  62. range:
  63. min: 0
  64. max: 1000
  65. - id: 25
  66. name: scene_data
  67. type: hex
  68. optional: true
  69. - id: 27
  70. name: music_data
  71. type: hex
  72. optional: true
  73. - id: 28
  74. name: control_data
  75. type: hex
  76. optional: true
  77. - id: 30
  78. name: rhythm_mode
  79. type: base64
  80. optional: true
  81. - id: 31
  82. name: sleep_mode
  83. type: base64
  84. optional: true
  85. - id: 32
  86. name: wakeup_mode
  87. type: base64
  88. optional: true
  89. - entity: time
  90. translation_key: timer
  91. category: config
  92. dps:
  93. - id: 26
  94. name: second
  95. type: integer
  96. optional: true
  97. range:
  98. min: 0
  99. max: 86400
  100. - entity: text
  101. translation_key: scene
  102. category: config
  103. hidden: true
  104. dps:
  105. - id: 51
  106. name: value
  107. type: base64
  108. optional: true
  109. - entity: select
  110. translation_key: scene
  111. category: config
  112. dps:
  113. - id: 51
  114. type: string
  115. name: option
  116. optional: true
  117. mapping:
  118. - dps_val: "AAUA7APoA+gD6AAA"
  119. value: "WW 100%"
  120. - dps_val: "AAUA7APoA+gB9AAA"
  121. value: "WW 50%"
  122. - dps_val: "AAUA7APoA+gACgAA"
  123. value: "WW 1%"
  124. - dps_val: "AAUA7APoA+gD6gHg"
  125. value: "WN 100%"
  126. - dps_val: "AAUA7APoA+gB9gHg"
  127. value: "WN 50%"
  128. - dps_val: "AAUA7APoA+gACgHg"
  129. value: "WN 1%"
  130. - dps_val: "AAUA7APoA+gD6AAA"
  131. value: "RGB RED 100%"
  132. - dps_val: "AAYAAAPoA+gB9AAA"
  133. value: "RGB RED 50%"
  134. - dps_val: "AAYAAAPoAAoACgAA"
  135. value: "RGB RED 1%"
  136. - dps_val: "AAcAAAPoAAoACgAA"
  137. value: "WW+RED 100%"
  138. - dps_val: "AAcAAAPoAfMB8QAA"
  139. value: "WW+RED 50%"
  140. - dps_val: "AAcAAAPoA+gD6AAA"
  141. value: "WW+RED 1%"