brilliant_triple_switch.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. name: Triple wall switch
  2. products:
  3. - id: o2epqysxigahd7mn
  4. manufacturer: Briliiant Smart
  5. name: Glass wall switch 3-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: number
  35. category: config
  36. translation_key: timer_x
  37. translation_placeholders:
  38. x: "1"
  39. class: duration
  40. dps:
  41. - id: 7
  42. type: integer
  43. name: value
  44. unit: min
  45. range:
  46. min: 0
  47. max: 86400
  48. mapping:
  49. - scale: 60
  50. step: 60
  51. - entity: number
  52. category: config
  53. translation_key: timer_x
  54. translation_placeholders:
  55. x: "2"
  56. class: duration
  57. dps:
  58. - id: 8
  59. type: integer
  60. name: value
  61. unit: min
  62. range:
  63. min: 0
  64. max: 86400
  65. mapping:
  66. - scale: 60
  67. step: 60
  68. - entity: number
  69. category: config
  70. translation_key: timer_x
  71. translation_placeholders:
  72. x: "3"
  73. class: duration
  74. dps:
  75. - id: 9
  76. type: integer
  77. name: value
  78. unit: min
  79. range:
  80. min: 0
  81. max: 86400
  82. mapping:
  83. - scale: 60
  84. step: 60
  85. - entity: sensor
  86. name: Energy
  87. category: diagnostic
  88. dps:
  89. - id: 101
  90. type: integer
  91. name: sensor
  92. unit: kWh
  93. mapping:
  94. - scale: 1000
  95. - entity: sensor
  96. class: current
  97. category: diagnostic
  98. dps:
  99. - id: 102
  100. type: integer
  101. name: sensor
  102. unit: mA
  103. class: measurement
  104. - entity: sensor
  105. class: power
  106. category: diagnostic
  107. dps:
  108. - id: 103
  109. type: integer
  110. name: sensor
  111. unit: W
  112. class: measurement
  113. mapping:
  114. - scale: 10
  115. - entity: sensor
  116. class: voltage
  117. category: diagnostic
  118. dps:
  119. - id: 104
  120. type: integer
  121. name: sensor
  122. unit: V
  123. class: measurement
  124. mapping:
  125. - scale: 10