ledvance_smart_plabl100x25b.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. name: Panel light
  2. products:
  3. - id: key9cdjdeqjph5sh
  4. manufacturer: Ledvance
  5. model: Smart+ Planon plus backlight
  6. model_id: BL100x25B
  7. entities:
  8. - entity: switch
  9. icon: "mdi:lightbulb-multiple"
  10. dps:
  11. - id: 20
  12. type: boolean
  13. name: switch
  14. - entity: light
  15. dps:
  16. - id: 20
  17. type: boolean
  18. name: available
  19. mapping:
  20. - dps_val: true
  21. value: true
  22. constraint: switch
  23. conditions:
  24. - dps_val: null
  25. value: false
  26. - id: 51
  27. type: base64
  28. mask: "000100000000000000000000"
  29. optional: true
  30. force: true
  31. name: switch
  32. mapping:
  33. - dps_val: null
  34. value_mirror: available
  35. - id: 21
  36. type: string
  37. optional: true
  38. name: work_mode
  39. - id: 22
  40. name: std_brightness
  41. type: integer
  42. range:
  43. min: 0
  44. max: 1000
  45. - id: 51
  46. type: base64
  47. mask: "0000000000000000FFFF0000"
  48. optional: true
  49. force: true
  50. name: brightness
  51. mapping:
  52. - dps_val: null
  53. value_mirror: std_brightness
  54. range:
  55. min: 0
  56. max: 1000
  57. - id: 23
  58. name: std_color_temp
  59. type: integer
  60. range:
  61. min: 0
  62. max: 500
  63. mapping:
  64. - target_range:
  65. min: 3000
  66. max: 6500
  67. - id: 51
  68. type: base64
  69. mask: "00000000000000000000FFFF"
  70. optional: true
  71. force: true
  72. name: color_temp
  73. mapping:
  74. - dps_val: null
  75. value_mirror: std_color_temp
  76. - target_range:
  77. min: 3000
  78. max: 6500
  79. range:
  80. min: 0
  81. max: 1000
  82. - entity: light
  83. translation_key: backlight
  84. dps:
  85. - id: 20
  86. type: boolean
  87. name: available
  88. mapping:
  89. - dps_val: true
  90. value: true
  91. constraint: switch
  92. conditions:
  93. - dps_val: null
  94. value: false
  95. - id: 51
  96. type: base64
  97. mask: "000200000000000000000000"
  98. optional: true
  99. force: true
  100. name: switch
  101. mapping:
  102. - dps_val: null
  103. value_mirror: available
  104. - id: 21
  105. type: string
  106. optional: true
  107. name: work_mode
  108. - id: 24
  109. type: hex
  110. name: std_rgbhsv
  111. optional: true
  112. format:
  113. - name: h
  114. bytes: 2
  115. range:
  116. min: 0
  117. max: 360
  118. - name: s
  119. bytes: 2
  120. range:
  121. min: 0
  122. max: 1000
  123. - name: v
  124. bytes: 2
  125. range:
  126. min: 0
  127. max: 1000
  128. - id: 51
  129. type: base64
  130. optional: true
  131. force: true
  132. name: rgbhsv
  133. format:
  134. - name: sw
  135. bytes: 2
  136. - name: h
  137. bytes: 2
  138. range:
  139. min: 0
  140. max: 360
  141. - name: s
  142. bytes: 2
  143. range:
  144. min: 0
  145. max: 1000
  146. - name: v
  147. bytes: 2
  148. range:
  149. min: 0
  150. max: 1000
  151. - name: wb
  152. bytes: 2
  153. - name: wc
  154. bytes: 2
  155. - entity: number
  156. translation_key: timer
  157. class: duration
  158. category: config
  159. dps:
  160. - id: 26
  161. type: integer
  162. name: value
  163. unit: min
  164. optional: true
  165. range:
  166. min: 0
  167. max: 86400
  168. mapping:
  169. - scale: 60
  170. step: 60