brilliant_triple_switch.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. name: Triple wall switch
  2. products:
  3. - id: o2epqysxigahd7mn
  4. name: Briliiant Smart glass wall switch 3-gang
  5. primary_entity:
  6. entity: switch
  7. class: switch
  8. name: Switch 1
  9. dps:
  10. - id: 1
  11. type: boolean
  12. name: switch
  13. secondary_entities:
  14. - entity: switch
  15. class: switch
  16. name: Switch 2
  17. dps:
  18. - id: 2
  19. type: boolean
  20. name: switch
  21. - entity: switch
  22. class: switch
  23. name: Switch 3
  24. dps:
  25. - id: 3
  26. type: boolean
  27. name: switch
  28. - entity: number
  29. category: config
  30. translation_key: timer_x
  31. translation_placeholders:
  32. x: "1"
  33. class: duration
  34. dps:
  35. - id: 7
  36. type: integer
  37. name: value
  38. unit: min
  39. range:
  40. min: 0
  41. max: 86400
  42. mapping:
  43. - scale: 60
  44. step: 60
  45. - entity: number
  46. category: config
  47. translation_key: timer_x
  48. translation_placeholders:
  49. x: "2"
  50. class: duration
  51. dps:
  52. - id: 8
  53. type: integer
  54. name: value
  55. unit: min
  56. range:
  57. min: 0
  58. max: 86400
  59. mapping:
  60. - scale: 60
  61. step: 60
  62. - entity: number
  63. category: config
  64. translation_key: timer_x
  65. translation_placeholders:
  66. x: "3"
  67. class: duration
  68. dps:
  69. - id: 9
  70. type: integer
  71. name: value
  72. unit: min
  73. range:
  74. min: 0
  75. max: 86400
  76. mapping:
  77. - scale: 60
  78. step: 60
  79. - entity: sensor
  80. name: Energy
  81. category: diagnostic
  82. dps:
  83. - id: 101
  84. type: integer
  85. name: sensor
  86. unit: kWh
  87. mapping:
  88. - scale: 1000
  89. - entity: sensor
  90. class: current
  91. category: diagnostic
  92. dps:
  93. - id: 102
  94. type: integer
  95. name: sensor
  96. unit: mA
  97. class: measurement
  98. - entity: sensor
  99. class: power
  100. category: diagnostic
  101. dps:
  102. - id: 103
  103. type: integer
  104. name: sensor
  105. unit: W
  106. class: measurement
  107. mapping:
  108. - scale: 10
  109. - entity: sensor
  110. class: voltage
  111. category: diagnostic
  112. dps:
  113. - id: 104
  114. type: integer
  115. name: sensor
  116. unit: V
  117. class: measurement
  118. mapping:
  119. - scale: 10