smart_multi_plug_4t_4usb.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. name: Quad power strip + 4USB
  2. products:
  3. - id: rpnp3rtjjzbktign
  4. model: "4T+4USB"
  5. entities:
  6. - entity: switch
  7. translation_key: outlet_x
  8. translation_placeholders:
  9. x: "1"
  10. class: outlet
  11. dps:
  12. - id: 1
  13. type: boolean
  14. name: switch
  15. - id: 17
  16. type: integer
  17. name: add_ele
  18. optional: true
  19. - id: 25
  20. type: integer
  21. name: ele_calibration
  22. optional: true
  23. - entity: switch
  24. translation_key: outlet_x
  25. translation_placeholders:
  26. x: "2"
  27. dps:
  28. - id: 2
  29. type: boolean
  30. name: switch
  31. - entity: switch
  32. translation_key: outlet_x
  33. translation_placeholders:
  34. x: "3"
  35. dps:
  36. - id: 3
  37. type: boolean
  38. name: switch
  39. - entity: switch
  40. translation_key: outlet_x
  41. translation_placeholders:
  42. x: "4"
  43. dps:
  44. - id: 4
  45. type: boolean
  46. name: switch
  47. - entity: switch
  48. name: USB
  49. dps:
  50. - id: 7
  51. type: boolean
  52. name: switch
  53. - entity: number
  54. category: config
  55. class: duration
  56. translation_key: timer_x
  57. translation_placeholders:
  58. x: "1"
  59. dps:
  60. - id: 9
  61. type: integer
  62. name: value
  63. unit: min
  64. range:
  65. min: 0
  66. max: 86400
  67. mapping:
  68. - scale: 60
  69. step: 60
  70. - entity: number
  71. category: config
  72. class: duration
  73. translation_key: timer_x
  74. translation_placeholders:
  75. x: "2"
  76. dps:
  77. - id: 10
  78. type: integer
  79. name: value
  80. unit: min
  81. range:
  82. min: 0
  83. max: 86400
  84. mapping:
  85. - scale: 60
  86. step: 60
  87. - entity: number
  88. category: config
  89. class: duration
  90. translation_key: timer_x
  91. translation_placeholders:
  92. x: "3"
  93. dps:
  94. - id: 11
  95. type: integer
  96. name: value
  97. unit: min
  98. range:
  99. min: 0
  100. max: 86400
  101. mapping:
  102. - scale: 60
  103. step: 60
  104. - entity: number
  105. category: config
  106. class: duration
  107. translation_key: timer_x
  108. translation_placeholders:
  109. x: "4"
  110. dps:
  111. - id: 12
  112. type: integer
  113. name: value
  114. unit: min
  115. range:
  116. min: 0
  117. max: 86400
  118. mapping:
  119. - scale: 60
  120. step: 60
  121. - entity: number
  122. name: USB Timer
  123. category: config
  124. class: duration
  125. translation_key: timer
  126. dps:
  127. - id: 15
  128. type: integer
  129. name: value
  130. unit: min
  131. range:
  132. min: 0
  133. max: 86400
  134. mapping:
  135. - scale: 60
  136. step: 60
  137. - entity: sensor
  138. category: diagnostic
  139. class: current
  140. dps:
  141. - id: 18
  142. name: sensor
  143. type: integer
  144. class: measurement
  145. force: true
  146. unit: mA
  147. - id: 23
  148. type: integer
  149. name: calibration
  150. optional: true
  151. - entity: sensor
  152. category: diagnostic
  153. class: power
  154. dps:
  155. - id: 19
  156. name: sensor
  157. type: integer
  158. class: measurement
  159. force: true
  160. unit: W
  161. mapping:
  162. - scale: 10
  163. - id: 24
  164. type: integer
  165. name: calibration
  166. optional: true
  167. - entity: sensor
  168. category: diagnostic
  169. class: voltage
  170. dps:
  171. - id: 20
  172. name: sensor
  173. type: integer
  174. class: measurement
  175. force: true
  176. unit: V
  177. mapping:
  178. - scale: 10
  179. - id: 22
  180. type: integer
  181. name: calibration
  182. optional: true