arlec_rgb_ledstrip.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. name: RGB light
  2. products:
  3. - id: jawcej1v
  4. name: Arlec ALD261HA USB strip light
  5. primary_entity:
  6. entity: light
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: switch
  11. - id: 2
  12. type: string
  13. name: color_mode
  14. mapping:
  15. - dps_val: white
  16. value: white
  17. - dps_val: colour
  18. value: hs
  19. - dps_val: scene
  20. value: Scene
  21. - dps_val: music
  22. value: Music
  23. - id: 5
  24. type: hex
  25. name: rgbhsv
  26. format:
  27. - name: h
  28. bytes: 2
  29. range:
  30. min: 0
  31. max: 360
  32. - name: s
  33. bytes: 2
  34. range:
  35. min: 0
  36. max: 1000
  37. - name: v
  38. bytes: 2
  39. range:
  40. min: 0
  41. max: 1000
  42. - id: 5
  43. type: hex
  44. name: brightness
  45. range:
  46. min: 0
  47. max: 1000
  48. mask: "00000000FFFF"
  49. - id: 6
  50. type: hex
  51. name: scene_data
  52. - id: 8
  53. type: string
  54. optional: true
  55. name: music_data
  56. - id: 9
  57. type: string
  58. optional: true
  59. name: control_data
  60. - id: 42
  61. type: string
  62. name: mic_music_data
  63. secondary_entities:
  64. - entity: number
  65. translation_key: timer
  66. category: config
  67. dps:
  68. - id: 7
  69. type: integer
  70. name: value
  71. unit: min
  72. range:
  73. min: 0
  74. max: 86400
  75. mapping:
  76. - scale: 60
  77. step: 60