brilliant_quad_switch.yaml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. name: Quad wall switch
  2. products:
  3. - id: kopqi7ax9pwi7nr2
  4. manufacturer: Brilliant Smart
  5. name: Glass wall switch 4-gang
  6. entities:
  7. - entity: switch
  8. class: switch
  9. translation_key: switch_x
  10. translation_placeholders:
  11. x: "1"
  12. dps:
  13. - id: 1
  14. type: boolean
  15. name: switch
  16. - entity: switch
  17. class: switch
  18. translation_key: switch_x
  19. translation_placeholders:
  20. x: "2"
  21. dps:
  22. - id: 2
  23. type: boolean
  24. name: switch
  25. - entity: switch
  26. class: switch
  27. translation_key: switch_x
  28. translation_placeholders:
  29. x: "3"
  30. dps:
  31. - id: 3
  32. type: boolean
  33. name: switch
  34. - entity: switch
  35. class: switch
  36. translation_key: switch_x
  37. translation_placeholders:
  38. x: "4"
  39. dps:
  40. - id: 4
  41. type: boolean
  42. name: switch
  43. - entity: time
  44. category: config
  45. translation_key: timer_x
  46. translation_placeholders:
  47. x: "1"
  48. dps:
  49. - id: 7
  50. type: integer
  51. name: second
  52. range:
  53. min: 0
  54. max: 86400
  55. - entity: time
  56. category: config
  57. translation_key: timer_x
  58. translation_placeholders:
  59. x: "2"
  60. dps:
  61. - id: 8
  62. type: integer
  63. name: second
  64. range:
  65. min: 0
  66. max: 86400
  67. - entity: time
  68. category: config
  69. translation_key: timer_x
  70. translation_placeholders:
  71. x: "3"
  72. dps:
  73. - id: 9
  74. type: integer
  75. name: second
  76. range:
  77. min: 0
  78. max: 86400
  79. - entity: time
  80. category: config
  81. translation_key: timer_x
  82. translation_placeholders:
  83. x: "4"
  84. dps:
  85. - id: 10
  86. type: integer
  87. name: second
  88. range:
  89. min: 0
  90. max: 86400
  91. - entity: number
  92. category: config
  93. # 2025-07-20
  94. deprecated: time.timer_1
  95. translation_key: timer_x
  96. translation_placeholders:
  97. x: "1"
  98. class: duration
  99. dps:
  100. - id: 7
  101. type: integer
  102. name: value
  103. unit: min
  104. range:
  105. min: 0
  106. max: 86400
  107. mapping:
  108. - scale: 60
  109. step: 60
  110. - entity: number
  111. category: config
  112. # 2025-07-20
  113. deprecated: time.timer_2
  114. translation_key: timer_x
  115. translation_placeholders:
  116. x: "2"
  117. class: duration
  118. dps:
  119. - id: 8
  120. type: integer
  121. name: value
  122. unit: min
  123. range:
  124. min: 0
  125. max: 86400
  126. mapping:
  127. - scale: 60
  128. step: 60
  129. - entity: number
  130. category: config
  131. # 2025-07-20
  132. deprecated: time.timer_3
  133. translation_key: timer_x
  134. translation_placeholders:
  135. x: "3"
  136. class: duration
  137. dps:
  138. - id: 9
  139. type: integer
  140. name: value
  141. unit: min
  142. range:
  143. min: 0
  144. max: 86400
  145. mapping:
  146. - scale: 60
  147. step: 60
  148. - entity: number
  149. category: config
  150. # 2025-07-20
  151. deprecated: time.timer_4
  152. translation_key: timer_x
  153. translation_placeholders:
  154. x: "4"
  155. class: duration
  156. dps:
  157. - id: 10
  158. type: integer
  159. name: value
  160. unit: min
  161. range:
  162. min: 0
  163. max: 86400
  164. mapping:
  165. - scale: 60
  166. step: 60
  167. - entity: sensor
  168. name: Energy
  169. category: diagnostic
  170. hidden: true
  171. dps:
  172. - id: 101
  173. type: integer
  174. name: sensor
  175. unit: kWh
  176. class: measurement
  177. mapping:
  178. - scale: 1000
  179. - entity: sensor
  180. class: current
  181. category: diagnostic
  182. dps:
  183. - id: 102
  184. type: integer
  185. name: sensor
  186. unit: mA
  187. class: measurement
  188. - entity: sensor
  189. class: power
  190. category: diagnostic
  191. dps:
  192. - id: 103
  193. type: integer
  194. name: sensor
  195. unit: W
  196. class: measurement
  197. mapping:
  198. - scale: 10
  199. - entity: sensor
  200. class: voltage
  201. category: diagnostic
  202. dps:
  203. - id: 104
  204. type: integer
  205. name: sensor
  206. unit: V
  207. class: measurement
  208. mapping:
  209. - scale: 10