ble_hu06_lock.yaml 4.9 KB

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