rgb_light_bar.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. name: RGB light
  2. products:
  3. - id: kteusapswadn9pf5
  4. name: Ambient light bar
  5. primary_entity:
  6. entity: light
  7. dps:
  8. - id: 20
  9. type: boolean
  10. name: switch
  11. - id: 21
  12. name: effect
  13. type: string
  14. mapping:
  15. - dps_val: colour
  16. value: RGB
  17. - dps_val: scene
  18. value: Scene
  19. - dps_val: music
  20. value: Music
  21. - id: 24
  22. name: rgbhsv
  23. type: hex
  24. format:
  25. - name: h
  26. bytes: 2
  27. range:
  28. min: 0
  29. max: 360
  30. - name: s
  31. bytes: 2
  32. range:
  33. min: 0
  34. max: 1000
  35. - name: v
  36. bytes: 2
  37. range:
  38. min: 0
  39. max: 1000
  40. - id: 27
  41. type: string
  42. name: music_data
  43. optional: true
  44. - id: 51
  45. type: string
  46. name: dreamlight_scene
  47. optional: true
  48. - id: 52
  49. type: string
  50. name: dreamlight_music_data
  51. optional: true
  52. - id: 101
  53. type: string
  54. name: dreeamscene_data
  55. optional: true
  56. secondary_entities:
  57. - entity: number
  58. translation_key: timer
  59. category: config
  60. dps:
  61. - id: 26
  62. type: integer
  63. name: value
  64. unit: min
  65. range:
  66. min: 0
  67. max: 86400
  68. mapping:
  69. - scale: 60
  70. step: 60