lsc_rgbcct_ledstrip.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. name: LED strip
  2. products:
  3. - id: jdsjyhct8uotmaiw
  4. manufacturer: LSC Smart Connect
  5. model: 5m RGBIC+CCTIC
  6. entities:
  7. - entity: light
  8. dps:
  9. - id: 20
  10. type: boolean
  11. name: switch
  12. - id: 21
  13. name: color_mode
  14. type: string
  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. - id: 23
  32. name: color_temp
  33. type: integer
  34. optional: true
  35. range:
  36. min: 0
  37. max: 1000
  38. mapping:
  39. - target_range:
  40. min: 2700
  41. max: 6500
  42. - id: 24
  43. name: rgbhsv
  44. type: hex
  45. format:
  46. - name: h
  47. bytes: 2
  48. range:
  49. min: 0
  50. max: 360
  51. - name: s
  52. bytes: 2
  53. range:
  54. min: 0
  55. max: 1000
  56. - name: v
  57. bytes: 2
  58. range:
  59. min: 0
  60. max: 1000
  61. - entity: time
  62. translation_key: timer
  63. category: config
  64. dps:
  65. - id: 26
  66. type: integer
  67. name: second
  68. range:
  69. min: 0
  70. max: 86400
  71. - entity: number
  72. translation_key: timer
  73. # 2025-07-20
  74. deprecated: time.timer
  75. class: duration
  76. category: config
  77. dps:
  78. - id: 26
  79. type: integer
  80. name: value
  81. unit: s
  82. range:
  83. min: 0
  84. max: 86400
  85. - entity: text
  86. name: Music data
  87. category: config
  88. icon: "mdi:music"
  89. hidden: true
  90. dps:
  91. - id: 27
  92. type: string
  93. optional: true
  94. name: value
  95. - entity: text
  96. name: Control data
  97. category: config
  98. icon: "mdi:cogs"
  99. hidden: true
  100. dps:
  101. - id: 28
  102. type: string
  103. optional: true
  104. name: value
  105. - entity: sensor
  106. name: Pixels
  107. icon: "mdi:led-strip"
  108. category: diagnostic
  109. dps:
  110. - id: 47
  111. type: integer
  112. name: sensor
  113. unit: px
  114. - entity: text
  115. name: Scene
  116. category: config
  117. icon: "mdi:palette"
  118. hidden: true
  119. dps:
  120. - id: 51
  121. type: string
  122. optional: true
  123. name: value
  124. - entity: text
  125. name: Dreamlight music data
  126. category: config
  127. icon: "mdi:music"
  128. hidden: true
  129. dps:
  130. - id: 52
  131. type: base64
  132. optional: true
  133. name: value
  134. - entity: number
  135. name: Set pixels
  136. category: config
  137. icon: "mdi:led-strip"
  138. dps:
  139. - id: 53
  140. type: integer
  141. name: value
  142. unit: px
  143. range:
  144. min: 1
  145. max: 1000
  146. - entity: text
  147. name: Paint data
  148. category: config
  149. icon: "mdi:palette"
  150. hidden: true
  151. dps:
  152. - id: 61
  153. type: base64
  154. optional: true
  155. name: value