smartplugv2_energyv3.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. name: Energy monitoring smartplug
  2. products:
  3. - id: 2iepauebcvo74ujc
  4. manufacturer: Aubess
  5. model: 20A
  6. - id: wrz6vzch8htux2zp
  7. manufacturer: Elivco
  8. model: CB2S-16DL
  9. - id: 3lbgj7cu27nsmh0w
  10. model: AT-Q-SY2-JWT
  11. - id: cipuwutzfuqk3iru
  12. model: UNSH SMKG-KNL
  13. - id: azpywu5zfg5wyzpn
  14. manufacturer: EARU
  15. model: 1P Breaker
  16. - id: mkdejkrgvhsfwfrd
  17. manufacturer: Antela
  18. model: F1s302-UK
  19. - id: 74xo1nolwa6xkjeu
  20. manufacturer: Arlec
  21. model: PC191HA Series 4
  22. entities:
  23. - entity: switch
  24. class: outlet
  25. dps:
  26. - id: 1
  27. type: boolean
  28. name: switch
  29. - id: 21
  30. type: integer
  31. optional: true
  32. name: test_bit
  33. - id: 44
  34. type: base64
  35. name: inching
  36. optional: true
  37. - entity: time
  38. category: config
  39. translation_key: timer
  40. dps:
  41. - id: 9
  42. type: integer
  43. name: second
  44. range:
  45. min: 0
  46. max: 86400
  47. - id: 42
  48. type: base64
  49. name: cycle_timer
  50. optional: true
  51. - id: 43
  52. type: base64
  53. name: random_timer
  54. optional: true
  55. - entity: sensor
  56. category: diagnostic
  57. hidden: true
  58. name: Energy
  59. dps:
  60. - id: 17
  61. name: sensor
  62. type: integer
  63. unit: Wh
  64. optional: true
  65. class: measurement
  66. - id: 25
  67. type: integer
  68. name: calibration
  69. # seems to be present even when 17 is missing, but for consistency
  70. optional: true
  71. - entity: sensor
  72. category: diagnostic
  73. class: current
  74. dps:
  75. - id: 18
  76. name: sensor
  77. type: integer
  78. class: measurement
  79. optional: true
  80. force: true
  81. unit: mA
  82. - id: 23
  83. type: integer
  84. optional: true
  85. name: calibration
  86. - entity: sensor
  87. category: diagnostic
  88. class: power
  89. dps:
  90. - id: 19
  91. name: sensor
  92. type: integer
  93. class: measurement
  94. optional: true
  95. force: true
  96. unit: W
  97. mapping:
  98. - scale: 10
  99. constraint: switch
  100. conditions:
  101. - dps_val: false
  102. value: 0
  103. - id: 1
  104. type: boolean
  105. name: switch
  106. - id: 24
  107. type: integer
  108. optional: true
  109. name: calibration
  110. - entity: sensor
  111. category: diagnostic
  112. class: voltage
  113. dps:
  114. - id: 20
  115. name: sensor
  116. type: integer
  117. class: measurement
  118. optional: true
  119. force: true
  120. unit: V
  121. mapping:
  122. - scale: 10
  123. - id: 22
  124. type: integer
  125. optional: true
  126. name: calibration
  127. - entity: binary_sensor
  128. class: problem
  129. category: diagnostic
  130. dps:
  131. - id: 26
  132. type: bitfield
  133. name: sensor
  134. mapping:
  135. - dps_val: 0
  136. value: false
  137. - value: true
  138. - id: 26
  139. type: bitfield
  140. name: fault_code
  141. - entity: select
  142. category: config
  143. translation_key: initial_state
  144. dps:
  145. - id: 38
  146. type: string
  147. optional: true
  148. name: option
  149. mapping:
  150. - dps_val: "on"
  151. value: "on"
  152. - dps_val: "off"
  153. value: "off"
  154. - dps_val: memory
  155. value: memory
  156. - entity: lock
  157. translation_key: child_lock
  158. category: config
  159. hidden: unavailable
  160. dps:
  161. - id: 41
  162. type: boolean
  163. optional: true
  164. name: available
  165. mapping:
  166. - dps_val: null
  167. value: false
  168. - value: true
  169. - id: 41
  170. type: boolean
  171. name: lock
  172. optional: true
  173. - entity: select
  174. translation_key: light_mode
  175. category: config
  176. hidden: unavailable
  177. dps:
  178. - id: 40
  179. type: string
  180. optional: true
  181. name: option
  182. mapping:
  183. - dps_val: relay
  184. value: state
  185. - dps_val: pos
  186. value: locator
  187. - dps_val: none
  188. value: "off"
  189. - dps_val: "on"
  190. value: "on"
  191. - id: 40
  192. type: string
  193. optional: true
  194. name: available
  195. mapping:
  196. - dps_val: null
  197. value: false
  198. - value: true
  199. - entity: switch
  200. name: Overcharge protection
  201. category: config
  202. hidden: unavailable
  203. dps:
  204. - id: 39
  205. type: boolean
  206. optional: true
  207. name: available
  208. mapping:
  209. - dps_val: null
  210. value: false
  211. - value: true
  212. - id: 39
  213. type: boolean
  214. name: switch
  215. optional: true
  216. - entity: sensor
  217. class: temperature
  218. hidden: unavailable
  219. category: diagnostic
  220. dps:
  221. - id: 47
  222. type: integer
  223. optional: true
  224. name: available
  225. mapping:
  226. - dps_val: null
  227. value: false
  228. - value: true
  229. - id: 47
  230. type: integer
  231. optional: true
  232. name: sensor
  233. unit: C
  234. class: measurement