dual_power_monitor_smartplugv2.yaml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. name: Dual smartplug
  2. products:
  3. - id: 3jnmzqoyuopg4vtf
  4. manufacturer: Deltaco
  5. model: SH-P02
  6. - id: arf4t5idnhpt88ii
  7. manufacturer: Smatrul
  8. name: Dual wall plug
  9. - id: rfg85jbg44atrd3a
  10. manufacturer: Kogan
  11. model: IP44 outdoor dual
  12. model_id: KASMPLGOD2A
  13. - id: gijt75s5nj2lmlup
  14. manufacturer: FreshLink
  15. model: Smart socket with USB
  16. - id: r03i57pimbyua3ev
  17. manufacturer: ARLEC
  18. model: PC287HA
  19. - id: bfjt9eoebwzdypvu
  20. manufacturer: SmartKnight ML Accessories Ltd
  21. model: Knightsbridge 13A Smart Swtched Socket (2-gang)
  22. model_id: SN9KW/CU9KW/OP9KW
  23. entities:
  24. - entity: switch
  25. translation_key: outlet_x
  26. translation_placeholders:
  27. x: "1"
  28. class: outlet
  29. dps:
  30. - id: 1
  31. type: boolean
  32. name: switch
  33. - id: 17
  34. type: integer
  35. name: add_ele
  36. optional: true
  37. - id: 21
  38. type: bitfield
  39. name: factory_test
  40. optional: true
  41. - id: 25
  42. type: integer
  43. name: ele_calibration
  44. optional: true
  45. - id: 42
  46. type: string
  47. name: schedule
  48. optional: true
  49. - id: 43
  50. type: string
  51. optional: true
  52. name: random_schedule
  53. - id: 44
  54. type: string
  55. optional: true
  56. name: inching
  57. - entity: switch
  58. translation_key: outlet_x
  59. translation_placeholders:
  60. x: "2"
  61. class: outlet
  62. dps:
  63. - id: 2
  64. type: boolean
  65. name: switch
  66. - entity: time
  67. category: config
  68. translation_key: timer_x
  69. translation_placeholders:
  70. x: "1"
  71. dps:
  72. - id: 9
  73. type: integer
  74. name: second
  75. range:
  76. min: 0
  77. max: 86400
  78. - entity: time
  79. category: config
  80. translation_key: timer_x
  81. translation_placeholders:
  82. x: "2"
  83. dps:
  84. - id: 10
  85. type: integer
  86. name: second
  87. range:
  88. min: 0
  89. max: 86400
  90. - entity: number
  91. category: config
  92. # 2025-07-20
  93. deprecated: time.timer_2
  94. translation_key: timer_x
  95. translation_placeholders:
  96. x: "1"
  97. class: duration
  98. dps:
  99. - id: 9
  100. type: integer
  101. name: value
  102. unit: min
  103. range:
  104. min: 0
  105. max: 86400
  106. mapping:
  107. - scale: 60
  108. step: 60
  109. - entity: number
  110. category: config
  111. # 2025-07-20
  112. deprecated: time.timer_2
  113. translation_key: timer_x
  114. translation_placeholders:
  115. x: "2"
  116. class: duration
  117. dps:
  118. - id: 10
  119. type: integer
  120. name: value
  121. unit: min
  122. range:
  123. min: 0
  124. max: 86400
  125. mapping:
  126. - scale: 60
  127. step: 60
  128. - entity: sensor
  129. class: current
  130. category: diagnostic
  131. dps:
  132. - id: 18
  133. type: integer
  134. name: sensor
  135. unit: mA
  136. class: measurement
  137. - id: 23
  138. type: integer
  139. name: calibration
  140. optional: true
  141. - entity: sensor
  142. class: power
  143. category: diagnostic
  144. dps:
  145. - id: 19
  146. type: integer
  147. name: sensor
  148. unit: W
  149. class: measurement
  150. mapping:
  151. - scale: 10
  152. - id: 24
  153. type: integer
  154. name: calibration
  155. optional: true
  156. - entity: sensor
  157. class: voltage
  158. category: diagnostic
  159. dps:
  160. - id: 20
  161. type: integer
  162. name: sensor
  163. unit: V
  164. class: measurement
  165. mapping:
  166. - scale: 10
  167. - id: 22
  168. type: integer
  169. name: calibration
  170. optional: true
  171. - entity: binary_sensor
  172. class: problem
  173. category: diagnostic
  174. dps:
  175. - id: 26
  176. type: bitfield
  177. name: sensor
  178. optional: true
  179. persist: false
  180. mapping:
  181. - dps_val: null
  182. value: false
  183. - dps_val: 0
  184. value: false
  185. - value: true
  186. - id: 26
  187. type: bitfield
  188. name: fault_code
  189. optional: true
  190. - entity: select
  191. translation_key: initial_state
  192. category: config
  193. dps:
  194. - id: 38
  195. type: string
  196. name: option
  197. optional: true
  198. mapping:
  199. - dps_val: "on"
  200. value: "on"
  201. - dps_val: "off"
  202. value: "off"
  203. - dps_val: memory
  204. value: memory
  205. - dps_val: null
  206. invalid: true
  207. - entity: select
  208. translation_key: light_mode
  209. category: config
  210. hidden: unavailable
  211. dps:
  212. - id: 40
  213. type: string
  214. optional: true
  215. name: available
  216. mapping:
  217. - dps_val: null
  218. value: false
  219. - value: true
  220. - id: 40
  221. type: string
  222. optional: true
  223. name: option
  224. mapping:
  225. - dps_val: relay
  226. value: state
  227. - dps_val: pos
  228. value: locator
  229. - dps_val: none
  230. value: "off"
  231. - dps_val: "on"
  232. value: "on"
  233. - entity: lock
  234. translation_key: child_lock
  235. category: config
  236. dps:
  237. - id: 41
  238. type: boolean
  239. name: lock
  240. optional: true
  241. mapping:
  242. - dps_val: null
  243. invalid: true