blitzwolf_bw_lt31.yaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. name: LED strip
  2. products:
  3. - id: khu3zzkkjemj6oat
  4. name: Blitzwolf BW-LT31
  5. primary_entity:
  6. entity: light
  7. icon: "mdi:led-strip-variant"
  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: dynamic_mod
  17. value: Dynamic
  18. - dps_val: color
  19. value: hs
  20. - dps_val: scene_mod
  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. - scale: 3.92
  33. - id: 24
  34. name: rgbhsv
  35. type: hex
  36. optional: true
  37. format:
  38. - name: h
  39. bytes: 2
  40. range:
  41. min: 0
  42. max: 360
  43. - name: s
  44. bytes: 2
  45. range:
  46. min: 0
  47. max: 1000
  48. - name: v
  49. bytes: 2
  50. range:
  51. min: 0
  52. max: 1000
  53. - id: 103
  54. name: line_sequence_adjustment
  55. type: integer
  56. - id: 104
  57. name: strip_points
  58. type: integer
  59. secondary_entities:
  60. - entity: select
  61. name: Music
  62. icon: "mdi:palette"
  63. category: config
  64. dps:
  65. - id: 102
  66. type: string
  67. name: option
  68. optional: true
  69. mapping:
  70. - dps_val: "119"
  71. value: "Classic 25%"
  72. - dps_val: "132"
  73. value: "Classic 50%"
  74. - dps_val: "14b"
  75. value: "Classic 75%"
  76. - dps_val: "164"
  77. value: "Classic 100%"
  78. - dps_val: "219"
  79. value: "Soft 25%"
  80. - dps_val: "232"
  81. value: "Soft 50%"
  82. - dps_val: "24b"
  83. value: "Soft 75%"
  84. - dps_val: "264"
  85. value: "Soft 100%"
  86. - dps_val: "319"
  87. value: "Dynamic 25%"
  88. - dps_val: "332"
  89. value: "Dynamic 50%"
  90. - dps_val: "34b"
  91. value: "Dynamic 75%"
  92. - dps_val: "364"
  93. value: "Dynamic 100%"
  94. - dps_val: "419"
  95. value: "Disco 25%"
  96. - dps_val: "432"
  97. value: "Disco 50%"
  98. - dps_val: "44b"
  99. value: "Disco 75%"
  100. - dps_val: "464"
  101. value: "Disco 100%"
  102. - entity: select
  103. name: Dynamic
  104. icon: "mdi:palette"
  105. category: config
  106. dps:
  107. - id: 106
  108. type: string
  109. name: option
  110. optional: true
  111. mapping:
  112. - dps_val: "013264000003e803e8"
  113. value: "Breath"
  114. # color+ R, speed 50, bright 100
  115. - dps_val: "023264000003e803e8"
  116. value: "Flash"
  117. # color+ R, speed 50, bright 100
  118. - dps_val: "033264000003e803e8007803e803e800f003e80\
  119. 3e8003b03e803e8013603e803e8010e03e803e8"
  120. value: "Jump"
  121. # color+ R+G+B+Y+C+P, speed 50, bright 100
  122. - dps_val: "043264000003e803e8007803e803e800f003e803e8"
  123. value: "Gradient"
  124. # color+ R+G+B, speed 50, bright 100
  125. - dps_val: "053264"
  126. value: "Symphony"
  127. # color All, speed 50, bright 100
  128. - dps_val: "063264000003e803e8"
  129. value: "Chasing"
  130. # color1 R, speed 50, bright 100
  131. - dps_val: "073264000003e803e8"
  132. value: "Meteor"
  133. # color1 R, speed 50, bright 100
  134. - dps_val: "083264000003e803e8"
  135. value: "Stacking"
  136. # color1 R, speed 50, bright 100
  137. - dps_val: "0932640000000003e8"
  138. value: "Adjoint"
  139. # color1 W, speed 50, bright 100
  140. - entity: select
  141. name: Scene
  142. icon: "mdi:palette"
  143. category: config
  144. dps:
  145. - id: 108
  146. type: string
  147. name: option
  148. optional: true
  149. mapping:
  150. - dps_val: "CJ_YD"
  151. value: "Reading"
  152. # color: white, static
  153. - dps_val: "CJ_QC"
  154. value: "Get Up"
  155. # color: white, yellow, static
  156. - dps_val: "CJ_WA"
  157. value: "Good Night"
  158. # color: red, static
  159. - dps_val: "CJ_XK"
  160. value: "Starry"
  161. # color: blue, flash
  162. - dps_val: "CJ_JH"
  163. value: "Party"
  164. # color* All, Flash, Mid speed
  165. - dps_val: "CJ_YS"
  166. value: "Film"
  167. # color: lightblue, static
  168. - entity: number
  169. name: Strip points
  170. category: config
  171. dps:
  172. - id: 104
  173. name: value
  174. type: integer
  175. optional: true
  176. range:
  177. min: 10
  178. max: 200