ble_hu06_lock.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. name: Smart lock
  2. products:
  3. - id: stugc8dl
  4. model: HU06
  5. - id: xicdxood
  6. manufacturer: Impression
  7. model: ImSmart C502
  8. entities:
  9. - entity: lock
  10. dps:
  11. - id: 13
  12. name: unlock_password
  13. type: integer
  14. optional: true
  15. persist: false
  16. - id: 16
  17. name: unlock_key
  18. type: integer
  19. optional: true
  20. persist: false
  21. - id: 19
  22. name: unlock_ble
  23. type: integer
  24. optional: true
  25. persist: false
  26. - id: 21
  27. name: jammed
  28. type: string
  29. optional: true
  30. persist: false
  31. mapping:
  32. - dps_val: tongue_bad
  33. value: true
  34. - value: false
  35. - id: 43
  36. name: unlock_fingerprint
  37. type: integer
  38. optional: true
  39. persist: false
  40. - id: 47
  41. name: lock
  42. type: boolean
  43. readonly: true
  44. - id: 62
  45. name: unlock_app
  46. type: integer
  47. optional: true
  48. persist: false
  49. - id: 63
  50. name: unlock_voice
  51. type: integer
  52. optional: true
  53. persist: false
  54. - id: 105
  55. name: lock_record
  56. type: string
  57. optional: true
  58. - entity: sensor
  59. class: battery
  60. category: diagnostic
  61. dps:
  62. - id: 8
  63. type: integer
  64. name: sensor
  65. unit: "%"
  66. class: measurement
  67. - entity: binary_sensor
  68. name: Wrong password
  69. class: problem
  70. category: diagnostic
  71. dps:
  72. - id: 21
  73. type: string
  74. name: sensor
  75. optional: true
  76. persist: false
  77. mapping:
  78. - dps_val: wrong_password
  79. value: true
  80. - dps_val: "1"
  81. value: true
  82. - value: false
  83. - entity: binary_sensor
  84. class: tamper
  85. category: diagnostic
  86. dps:
  87. - id: 21
  88. type: string
  89. name: sensor
  90. optional: true
  91. persist: false
  92. mapping:
  93. - dps_val: pry
  94. value: true
  95. - dps_val: "8"
  96. value: true
  97. - value: false
  98. - entity: binary_sensor
  99. class: battery
  100. category: diagnostic
  101. dps:
  102. - id: 21
  103. type: string
  104. name: sensor
  105. optional: true
  106. persist: false
  107. mapping:
  108. - dps_val: low_battery
  109. value: true
  110. - dps_val: "10"
  111. value: true
  112. - dps_val: low_battery_keypad
  113. - value: false
  114. - entity: binary_sensor
  115. class: problem
  116. category: diagnostic
  117. dps:
  118. - id: 21
  119. type: string
  120. name: sensor
  121. optional: true
  122. persist: false
  123. mapping:
  124. - dps_val: defense
  125. value: true
  126. - dps_val: "13"
  127. value: true
  128. - value: false
  129. - id: 21
  130. type: string
  131. name: description
  132. optional: true
  133. persist: false
  134. - entity: binary_sensor
  135. name: Duress
  136. class: safety
  137. category: diagnostic
  138. dps:
  139. - id: 22
  140. type: boolean
  141. name: sensor
  142. optional: true
  143. persist: false
  144. mapping:
  145. - dps_val: null
  146. value: false
  147. - entity: event
  148. class: doorbell
  149. category: diagnostic
  150. dps:
  151. - id: 24
  152. type: boolean
  153. name: event
  154. optional: true
  155. mapping:
  156. - dps_val: true
  157. value: ring
  158. - dps_val: false
  159. value: null
  160. - entity: number
  161. name: Doorbell volume
  162. category: config
  163. dps:
  164. - id: 27
  165. type: string
  166. name: value
  167. unit: "%"
  168. range:
  169. min: 0
  170. max: 100
  171. mapping:
  172. - dps_val: mute
  173. value: 0
  174. icon: "mdi:volume-mute"
  175. - dps_val: voice
  176. value: 100
  177. icon: "mdi:volume-high"
  178. - entity: switch
  179. name: Auto lock
  180. category: config
  181. icon: "mdi:lock-reset"
  182. dps:
  183. - id: 33
  184. type: boolean
  185. name: switch
  186. - entity: number
  187. name: Auto lock delay
  188. category: config
  189. icon: "mdi:lock-clock"
  190. dps:
  191. - id: 36
  192. name: value
  193. type: integer
  194. range:
  195. min: 10
  196. max: 180
  197. mapping:
  198. - step: 10
  199. unit: s
  200. - entity: binary_sensor
  201. class: door
  202. category: diagnostic
  203. dps:
  204. - id: 40
  205. type: string
  206. name: sensor
  207. mapping:
  208. - dps_val: unknown
  209. value: null
  210. - dps_val: open
  211. value: true
  212. - dps_val: closed
  213. value: false
  214. - entity: binary_sensor
  215. name: Keypad reset
  216. class: running
  217. category: diagnostic
  218. dps:
  219. - id: 102
  220. type: boolean
  221. name: sensor
  222. - entity: sensor
  223. name: Keypad battery
  224. class: battery
  225. category: diagnostic
  226. dps:
  227. - id: 103
  228. type: integer
  229. name: sensor
  230. unit: "%"
  231. class: measurement
  232. - entity: binary_sensor
  233. class: connectivity
  234. category: diagnostic
  235. dps:
  236. - id: 107
  237. type: boolean
  238. name: sensor