brilliant_quad_switch.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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: number
  44. category: config
  45. translation_key: timer_x
  46. translation_placeholders:
  47. x: "1"
  48. class: duration
  49. dps:
  50. - id: 7
  51. type: integer
  52. name: value
  53. unit: min
  54. range:
  55. min: 0
  56. max: 86400
  57. mapping:
  58. - scale: 60
  59. step: 60
  60. - entity: number
  61. category: config
  62. translation_key: timer_x
  63. translation_placeholders:
  64. x: "2"
  65. class: duration
  66. dps:
  67. - id: 8
  68. type: integer
  69. name: value
  70. unit: min
  71. range:
  72. min: 0
  73. max: 86400
  74. mapping:
  75. - scale: 60
  76. step: 60
  77. - entity: number
  78. category: config
  79. translation_key: timer_x
  80. translation_placeholders:
  81. x: "3"
  82. class: duration
  83. dps:
  84. - id: 9
  85. type: integer
  86. name: value
  87. unit: min
  88. range:
  89. min: 0
  90. max: 86400
  91. mapping:
  92. - scale: 60
  93. step: 60
  94. - entity: number
  95. category: config
  96. translation_key: timer_x
  97. translation_placeholders:
  98. x: "4"
  99. class: duration
  100. dps:
  101. - id: 10
  102. type: integer
  103. name: value
  104. unit: min
  105. range:
  106. min: 0
  107. max: 86400
  108. mapping:
  109. - scale: 60
  110. step: 60
  111. - entity: sensor
  112. name: Energy
  113. category: diagnostic
  114. hidden: true
  115. dps:
  116. - id: 101
  117. type: integer
  118. name: sensor
  119. unit: kWh
  120. class: measurement
  121. mapping:
  122. - scale: 1000
  123. - entity: sensor
  124. class: current
  125. category: diagnostic
  126. dps:
  127. - id: 102
  128. type: integer
  129. name: sensor
  130. unit: mA
  131. class: measurement
  132. - entity: sensor
  133. class: power
  134. category: diagnostic
  135. dps:
  136. - id: 103
  137. type: integer
  138. name: sensor
  139. unit: W
  140. class: measurement
  141. mapping:
  142. - scale: 10
  143. - entity: sensor
  144. class: voltage
  145. category: diagnostic
  146. dps:
  147. - id: 104
  148. type: integer
  149. name: sensor
  150. unit: V
  151. class: measurement
  152. mapping:
  153. - scale: 10