hdmi_sync_light.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. name: HDMI sync light
  2. primary_entity:
  3. entity: light
  4. dps:
  5. - id: 20
  6. type: boolean
  7. name: switch
  8. optional: true
  9. persist: false
  10. mapping:
  11. - dps_val: null
  12. value: false
  13. - id: 21
  14. type: string
  15. name: color_mode
  16. mapping:
  17. - dps_val: white
  18. value: brightness
  19. - dps_val: colour
  20. value: hs
  21. optional: true
  22. - id: 22
  23. type: integer
  24. name: brightness
  25. range:
  26. min: 0
  27. max: 1000
  28. - id: 24
  29. type: hex
  30. name: rgbhsv
  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. secondary_entities:
  48. - entity: select
  49. name: Scene
  50. icon: "mdi:palette"
  51. category: config
  52. dps:
  53. - id: 25
  54. type: string
  55. name: option
  56. mapping:
  57. - dps_val: 80000000000000000000000000000000
  58. value: Screen - Movie
  59. - dps_val: 81000000000000000000000000000000
  60. value: Screen - Video
  61. - dps_val: 82000000000000000000000000000000
  62. value: Screen - Game
  63. - dps_val: 83000000000000000000000000000000
  64. value: Music - Spectrum
  65. - dps_val: 84000000000000000000000000000000
  66. value: Music - Electronic
  67. - dps_val: 85000000000000000000000000000000
  68. value: Music - Listen
  69. - dps_val: 86000000000000000000000000000000
  70. value: Scene - Rainbow
  71. - dps_val: 87000000000000000000000000000000
  72. value: Scene - Fire
  73. - dps_val: 88000000000000000000000000000000
  74. value: Scene - Read
  75. - dps_val: 89000000000000000000000000000000
  76. value: Scene - Firework
  77. - dps_val: 90000000000000000000000000000000
  78. value: Color Scene - Star
  79. - dps_val: 91000000000000000000000000000000
  80. value: Color Scene - Drip
  81. - dps_val: 92000000000000000000000000000000
  82. value: Color Scene - Particle
  83. - dps_val: 93000000000000000000000000000000
  84. value: Color Scene - Flow
  85. - dps_val: 94000000000000000000000000000000
  86. value: Color Scene - Ball
  87. - dps_val: 95000000000000000000000000000000
  88. value: Color Scene - Swing
  89. - dps_val: 96000000000000000000000000000000
  90. value: Color Scene - Breath
  91. - dps_val: 97000000000000000000000000000000
  92. value: Color Scene - Pure
  93. - entity: number
  94. translation_key: timer
  95. category: config
  96. dps:
  97. - id: 26
  98. type: integer
  99. name: value
  100. range:
  101. min: 0
  102. max: 86400
  103. optional: true
  104. unit: min
  105. mapping:
  106. - scale: 60
  107. step: 60
  108. - entity: select
  109. name: Installation side
  110. category: config
  111. icon: "mdi:cast-variant"
  112. icon_priority: 2
  113. dps:
  114. - id: 101
  115. type: string
  116. name: option
  117. optional: true
  118. mapping:
  119. - dps_val: "0"
  120. value: Left
  121. icon: "mdi:rotate-left-variant"
  122. icon_priority: 1
  123. - dps_val: "1"
  124. value: Right
  125. icon: "mdi:rotate-right-variant"
  126. icon_priority: 1
  127. - entity: select
  128. name: Lamp type
  129. icon: "mdi:led-strip-variant"
  130. icon_priority: 2
  131. category: config
  132. dps:
  133. - id: 102
  134. type: string
  135. name: option
  136. optional: true
  137. mapping:
  138. - dps_val: "0"
  139. value: Light strip
  140. - dps_val: "1"
  141. value: Light post
  142. icon: "mdi:post-lamp"
  143. icon_priority: 1