rgbcw_lightbulb_xld_cl002.yaml 2.9 KB

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