denver_shp200mk2_dualsmartplug.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. name: Dual smartplug
  2. products:
  3. - id: hhmfhqctaquluc7t
  4. manufacturer: Denver
  5. model: SHP-200mk2
  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: 21
  21. type: bitfield
  22. name: factory_test
  23. optional: true
  24. - id: 25
  25. type: integer
  26. name: ele_calibration
  27. optional: true
  28. - id: 41
  29. type: string
  30. name: schedule
  31. optional: true
  32. - id: 42
  33. type: string
  34. optional: true
  35. name: random_schedule
  36. - entity: switch
  37. translation_key: outlet_x
  38. translation_placeholders:
  39. x: "2"
  40. class: outlet
  41. dps:
  42. - id: 2
  43. type: boolean
  44. name: switch
  45. - entity: time
  46. category: config
  47. translation_key: timer_x
  48. translation_placeholders:
  49. x: "1"
  50. dps:
  51. - id: 9
  52. type: integer
  53. name: second
  54. range:
  55. min: 0
  56. max: 86400
  57. - entity: time
  58. category: config
  59. translation_key: timer_x
  60. translation_placeholders:
  61. x: "2"
  62. dps:
  63. - id: 10
  64. type: integer
  65. name: second
  66. range:
  67. min: 0
  68. max: 86400
  69. - entity: number
  70. category: config
  71. # 2025-07-20
  72. deprecated: time.timer_1
  73. translation_key: timer_x
  74. translation_placeholders:
  75. x: "1"
  76. class: duration
  77. dps:
  78. - id: 9
  79. type: integer
  80. name: value
  81. unit: min
  82. range:
  83. min: 0
  84. max: 86400
  85. mapping:
  86. - scale: 60
  87. step: 60
  88. - entity: number
  89. category: config
  90. # 2025-07-20
  91. deprecated: time.timer_2
  92. translation_key: timer_x
  93. translation_placeholders:
  94. x: "2"
  95. class: duration
  96. dps:
  97. - id: 10
  98. type: integer
  99. name: value
  100. unit: min
  101. range:
  102. min: 0
  103. max: 86400
  104. mapping:
  105. - scale: 60
  106. step: 60
  107. - entity: sensor
  108. class: current
  109. category: diagnostic
  110. dps:
  111. - id: 18
  112. type: integer
  113. name: sensor
  114. unit: mA
  115. class: measurement
  116. - id: 23
  117. type: integer
  118. name: calibration
  119. optional: true
  120. - entity: sensor
  121. class: power
  122. category: diagnostic
  123. dps:
  124. - id: 19
  125. type: integer
  126. name: sensor
  127. unit: W
  128. class: measurement
  129. mapping:
  130. - scale: 10
  131. - id: 24
  132. type: integer
  133. name: calibration
  134. optional: true
  135. - entity: sensor
  136. class: voltage
  137. category: diagnostic
  138. dps:
  139. - id: 20
  140. type: integer
  141. name: sensor
  142. unit: V
  143. class: measurement
  144. mapping:
  145. - scale: 10
  146. - id: 22
  147. type: integer
  148. name: calibration
  149. optional: true
  150. - entity: binary_sensor
  151. class: problem
  152. category: diagnostic
  153. dps:
  154. - id: 26
  155. type: bitfield
  156. name: sensor
  157. optional: true
  158. persist: false
  159. mapping:
  160. - dps_val: null
  161. value: false
  162. - dps_val: 0
  163. value: false
  164. - value: true
  165. - id: 26
  166. type: bitfield
  167. name: fault_code
  168. optional: true
  169. - entity: select
  170. translation_key: initial_state
  171. category: config
  172. dps:
  173. - id: 38
  174. type: string
  175. name: option
  176. optional: true
  177. mapping:
  178. - dps_val: "on"
  179. value: "on"
  180. - dps_val: "off"
  181. value: "off"
  182. - dps_val: memory
  183. value: memory
  184. - dps_val: null
  185. invalid: true