quad_powerstrip.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. name: Quad powerstrip
  2. products:
  3. - id: l5gnaxuawkjfquqo
  4. manufacturer: Kogan
  5. model: KASPS10A3P3UA 3+USB
  6. entities:
  7. - entity: switch
  8. translation_key: outlet_x
  9. translation_placeholders:
  10. x: "1"
  11. class: outlet
  12. dps:
  13. - id: 1
  14. type: boolean
  15. name: switch
  16. - id: 17
  17. type: integer
  18. name: add_ele
  19. optional: true
  20. - id: 25
  21. type: integer
  22. name: ele_calibration
  23. optional: true
  24. - entity: switch
  25. translation_key: outlet_x
  26. translation_placeholders:
  27. x: "2"
  28. class: outlet
  29. dps:
  30. - id: 2
  31. type: boolean
  32. name: switch
  33. - entity: switch
  34. translation_key: outlet_x
  35. translation_placeholders:
  36. x: "3"
  37. class: outlet
  38. dps:
  39. - id: 3
  40. type: boolean
  41. name: switch
  42. - entity: switch
  43. translation_key: outlet_x
  44. translation_placeholders:
  45. x: "4"
  46. class: outlet
  47. dps:
  48. - id: 4
  49. type: boolean
  50. name: switch
  51. - entity: number
  52. category: config
  53. class: duration
  54. translation_key: timer_x
  55. translation_placeholders:
  56. x: "1"
  57. dps:
  58. - id: 9
  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. class: duration
  71. translation_key: timer_x
  72. translation_placeholders:
  73. x: "2"
  74. dps:
  75. - id: 10
  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: number
  86. category: config
  87. class: duration
  88. translation_key: timer_x
  89. translation_placeholders:
  90. x: "3"
  91. dps:
  92. - id: 11
  93. type: integer
  94. name: value
  95. unit: min
  96. range:
  97. min: 0
  98. max: 86400
  99. mapping:
  100. - scale: 60
  101. step: 60
  102. - entity: number
  103. category: config
  104. class: duration
  105. translation_key: timer_x
  106. translation_placeholders:
  107. x: "4"
  108. dps:
  109. - id: 12
  110. type: integer
  111. name: value
  112. unit: min
  113. range:
  114. min: 0
  115. max: 86400
  116. mapping:
  117. - scale: 60
  118. step: 60
  119. - entity: sensor
  120. category: diagnostic
  121. class: current
  122. dps:
  123. - id: 18
  124. name: sensor
  125. type: integer
  126. class: measurement
  127. force: true
  128. unit: mA
  129. - id: 23
  130. type: integer
  131. name: calibration
  132. optional: true
  133. - entity: sensor
  134. category: diagnostic
  135. class: power
  136. dps:
  137. - id: 19
  138. name: sensor
  139. type: integer
  140. class: measurement
  141. force: true
  142. unit: W
  143. mapping:
  144. - scale: 10
  145. - id: 24
  146. type: integer
  147. name: calibration
  148. optional: true
  149. - entity: sensor
  150. category: diagnostic
  151. class: voltage
  152. dps:
  153. - id: 20
  154. name: sensor
  155. type: integer
  156. class: measurement
  157. force: true
  158. unit: V
  159. mapping:
  160. - scale: 10
  161. - id: 22
  162. type: integer
  163. name: calibration
  164. optional: true