ble_hu06_lock.yaml 4.9 KB

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