lsc_rgbcct_ledstrip.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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: text
  72. name: Music data
  73. category: config
  74. icon: "mdi:music"
  75. hidden: true
  76. dps:
  77. - id: 27
  78. type: string
  79. optional: true
  80. name: value
  81. - entity: text
  82. name: Control data
  83. category: config
  84. icon: "mdi:cogs"
  85. hidden: true
  86. dps:
  87. - id: 28
  88. type: string
  89. optional: true
  90. name: value
  91. - entity: sensor
  92. name: Pixels
  93. icon: "mdi:led-strip"
  94. category: diagnostic
  95. dps:
  96. - id: 47
  97. type: integer
  98. name: sensor
  99. unit: px
  100. - entity: text
  101. name: Scene
  102. category: config
  103. icon: "mdi:palette"
  104. hidden: true
  105. dps:
  106. - id: 51
  107. type: string
  108. optional: true
  109. name: value
  110. - entity: text
  111. name: Dreamlight music data
  112. category: config
  113. icon: "mdi:music"
  114. hidden: true
  115. dps:
  116. - id: 52
  117. type: base64
  118. optional: true
  119. name: value
  120. - entity: number
  121. name: Set pixels
  122. category: config
  123. icon: "mdi:led-strip"
  124. dps:
  125. - id: 53
  126. type: integer
  127. name: value
  128. unit: px
  129. range:
  130. min: 1
  131. max: 1000
  132. - entity: text
  133. name: Paint data
  134. category: config
  135. icon: "mdi:palette"
  136. hidden: true
  137. dps:
  138. - id: 61
  139. type: base64
  140. optional: true
  141. name: value