arlec_rgb_ledstrip.yaml 1.5 KB

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