smart_multi_plug_4t_4usb.yaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. name: Quad power strip + 4USB
  2. products:
  3. - id: rpnp3rtjjzbktign
  4. model: "4T+4USB"
  5. - id: l7z01thw8rcy5nuu
  6. manufacturer: Marmitek
  7. model: Power LI3
  8. entities:
  9. - entity: switch
  10. translation_key: outlet_x
  11. translation_placeholders:
  12. x: "1"
  13. class: outlet
  14. dps:
  15. - id: 1
  16. type: boolean
  17. name: switch
  18. - entity: switch
  19. translation_key: outlet_x
  20. translation_placeholders:
  21. x: "2"
  22. dps:
  23. - id: 2
  24. type: boolean
  25. name: switch
  26. - entity: switch
  27. translation_key: outlet_x
  28. translation_placeholders:
  29. x: "3"
  30. dps:
  31. - id: 3
  32. type: boolean
  33. name: switch
  34. - entity: switch
  35. translation_key: outlet_x
  36. translation_placeholders:
  37. x: "4"
  38. dps:
  39. - id: 4
  40. type: boolean
  41. name: switch
  42. - entity: switch
  43. name: USB
  44. dps:
  45. - id: 7
  46. type: boolean
  47. name: switch
  48. - entity: time
  49. category: config
  50. translation_key: timer_x
  51. translation_placeholders:
  52. x: "1"
  53. dps:
  54. - id: 9
  55. type: integer
  56. name: second
  57. range:
  58. min: 0
  59. max: 86400
  60. - entity: time
  61. category: config
  62. translation_key: timer_x
  63. translation_placeholders:
  64. x: "2"
  65. dps:
  66. - id: 10
  67. type: integer
  68. name: second
  69. range:
  70. min: 0
  71. max: 86400
  72. - entity: time
  73. category: config
  74. translation_key: timer_x
  75. translation_placeholders:
  76. x: "3"
  77. dps:
  78. - id: 11
  79. type: integer
  80. name: second
  81. range:
  82. min: 0
  83. max: 86400
  84. - entity: time
  85. category: config
  86. translation_key: timer_x
  87. translation_placeholders:
  88. x: "4"
  89. dps:
  90. - id: 12
  91. type: integer
  92. name: second
  93. range:
  94. min: 0
  95. max: 86400
  96. - entity: time
  97. category: config
  98. translation_key: timer_x
  99. translation_placeholders:
  100. x: USB
  101. dps:
  102. - id: 15
  103. type: integer
  104. name: second
  105. range:
  106. min: 0
  107. max: 86400
  108. - entity: sensor
  109. category: diagnostic
  110. class: current
  111. dps:
  112. - id: 18
  113. name: sensor
  114. type: integer
  115. class: measurement
  116. force: true
  117. unit: mA
  118. - id: 23
  119. type: integer
  120. name: calibration
  121. optional: true
  122. - entity: sensor
  123. category: diagnostic
  124. class: power
  125. dps:
  126. - id: 19
  127. name: sensor
  128. type: integer
  129. class: measurement
  130. force: true
  131. unit: W
  132. mapping:
  133. - scale: 10
  134. - id: 24
  135. type: integer
  136. name: calibration
  137. optional: true
  138. - id: 17
  139. type: integer
  140. name: add_ele
  141. optional: true
  142. - id: 25
  143. type: integer
  144. name: ele_calibration
  145. optional: true
  146. - entity: sensor
  147. category: diagnostic
  148. class: voltage
  149. dps:
  150. - id: 20
  151. name: sensor
  152. type: integer
  153. class: measurement
  154. force: true
  155. unit: V
  156. mapping:
  157. - scale: 10
  158. - id: 22
  159. type: integer
  160. name: calibration
  161. optional: true
  162. - entity: binary_sensor
  163. class: problem
  164. category: diagnostic
  165. dps:
  166. - id: 26
  167. type: bitfield
  168. optional: true
  169. name: sensor
  170. mapping:
  171. - dps_val: 0
  172. value: false
  173. - dps_val: null
  174. value: false
  175. - value: true
  176. - id: 26
  177. type: bitfield
  178. optional: true
  179. name: fault_code
  180. - id: 21
  181. type: bitfield
  182. optional: true
  183. name: test_bit
  184. - entity: select
  185. translation_key: initial_state
  186. category: config
  187. hidden: unavailable
  188. dps:
  189. - id: 38
  190. type: string
  191. optional: true
  192. name: option
  193. mapping:
  194. - conditions:
  195. - dps_val: [memory, "off", "on"]
  196. mapping:
  197. - dps_val: "off"
  198. value: "off"
  199. - dps_val: "on"
  200. value: "on"
  201. - dps_val: memory
  202. value: memory
  203. - dps_val: [power_off, power_on, last]
  204. mapping:
  205. - dps_val: power_off
  206. value: "off"
  207. - dps_val: power_on
  208. value: "on"
  209. - dps_val: last
  210. value: memory
  211. - dps_val: ["0", "1", "2"]
  212. mapping:
  213. - dps_val: "0"
  214. value: "off"
  215. - dps_val: "1"
  216. value: "on"
  217. - dps_val: "2"
  218. value: memory
  219. - dps_val: null # to get value list during initialization
  220. mapping:
  221. - dps_val: "off"
  222. value: "off"
  223. - dps_val: "on"
  224. value: "on"
  225. - dps_val: memory
  226. value: memory
  227. - id: 38
  228. type: string
  229. optional: true
  230. name: available
  231. mapping:
  232. - dps_val: null
  233. value: false
  234. - value: true
  235. - entity: text
  236. translation_key: schedule
  237. category: config
  238. hidden: true
  239. dps:
  240. - id: 41
  241. type: string
  242. optional: true
  243. name: value
  244. - entity: text
  245. name: Randomized schedule
  246. category: config
  247. icon: "mdi:island"
  248. hidden: true
  249. dps:
  250. - id: 42
  251. type: string
  252. optional: true
  253. name: value
  254. - entity: text
  255. name: Inching
  256. category: config
  257. icon: "mdi:toggle-switch"
  258. hidden: true
  259. dps:
  260. - id: 43
  261. type: string
  262. optional: true
  263. name: value
  264. - entity: number
  265. name: Current limit
  266. class: current
  267. category: config
  268. hidden: unavailable
  269. dps:
  270. - id: 101
  271. type: integer
  272. optional: true
  273. name: value
  274. unit: A
  275. range:
  276. min: 11
  277. max: 17
  278. - id: 101
  279. type: integer
  280. optional: true
  281. name: available
  282. mapping:
  283. - dps_val: null
  284. value: false
  285. - value: true