screensync_light.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. name: Screen sync smart light 2.0
  2. primary_entity:
  3. entity: light
  4. dps:
  5. - id: 20
  6. type: boolean
  7. name: switch
  8. - id: 21
  9. type: string
  10. name: color_mode
  11. mapping:
  12. - dps_val: white
  13. value: white
  14. - dps_val: colour
  15. value: rgbw
  16. - dps_val: scene
  17. value: colorloop
  18. - dps_val: music
  19. value: random
  20. - id: 22
  21. name: brightness
  22. type: integer
  23. range:
  24. min: 10
  25. max: 1000
  26. mapping:
  27. - scale: 3.92
  28. - id: 24
  29. name: rgbhsv
  30. type: hex
  31. format:
  32. - name: h
  33. bytes: 2
  34. range:
  35. min: 0
  36. max: 360
  37. - name: s
  38. bytes: 2
  39. range:
  40. min: 0
  41. max: 1000
  42. - name: v
  43. bytes: 2
  44. range:
  45. min: 0
  46. max: 1000
  47. optional: true
  48. - id: 25
  49. type: hex
  50. name: scene_data
  51. optional: true
  52. - id: 27
  53. type: hex
  54. name: music_data
  55. optional: true
  56. - id: 28
  57. type: hex
  58. name: control_data
  59. optional: true
  60. - id: 101
  61. type: string
  62. name: setup_side
  63. optional: true
  64. - id: 102
  65. type: string
  66. name: light_type
  67. optional: true
  68. - id: 103
  69. type: string
  70. name: install_location
  71. optional: true
  72. - id: 104
  73. type: string
  74. name: scene
  75. optional: true
  76. secondary_entities:
  77. - entity: number
  78. name: Timer
  79. category: config
  80. icon: "mdi:timer"
  81. dps:
  82. - id: 26
  83. name: value
  84. type: integer
  85. range:
  86. min: 0
  87. max: 86400
  88. unit: min
  89. mapping:
  90. - scale: 60
  91. step: 60