ble_hu06_lock.yaml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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: binary_sensor
  141. name: Doorbell
  142. class: sound
  143. category: diagnostic
  144. dps:
  145. - id: 24
  146. type: boolean
  147. name: sensor
  148. optional: true
  149. persist: false
  150. mapping:
  151. - dps_val: null
  152. value: false
  153. - entity: number
  154. name: Doorbell volume
  155. category: config
  156. dps:
  157. - id: 27
  158. type: string
  159. name: value
  160. unit: "%"
  161. range:
  162. min: 0
  163. max: 100
  164. mapping:
  165. - dps_val: mute
  166. value: 0
  167. icon: "mdi:volume-mute"
  168. - dps_val: voice
  169. value: 100
  170. icon: "mdi:volume-high"
  171. - entity: switch
  172. name: Auto lock
  173. category: config
  174. icon: "mdi:lock-reset"
  175. dps:
  176. - id: 33
  177. type: boolean
  178. name: switch
  179. - entity: number
  180. name: Auto lock delay
  181. category: config
  182. icon: "mdi:lock-clock"
  183. dps:
  184. - id: 36
  185. name: value
  186. type: integer
  187. range:
  188. min: 10
  189. max: 180
  190. mapping:
  191. - step: 10
  192. unit: s
  193. - entity: binary_sensor
  194. class: door
  195. category: diagnostic
  196. dps:
  197. - id: 40
  198. type: string
  199. name: sensor
  200. mapping:
  201. - dps_val: unknown
  202. value: null
  203. - dps_val: open
  204. value: true
  205. - dps_val: closed
  206. value: false
  207. - entity: binary_sensor
  208. name: Keypad reset
  209. class: running
  210. category: diagnostic
  211. dps:
  212. - id: 102
  213. type: boolean
  214. name: sensor
  215. - entity: sensor
  216. name: Keypad battery
  217. class: battery
  218. category: diagnostic
  219. dps:
  220. - id: 103
  221. type: integer
  222. name: sensor
  223. unit: "%"
  224. class: measurement
  225. - entity: binary_sensor
  226. class: connectivity
  227. category: diagnostic
  228. dps:
  229. - id: 107
  230. type: boolean
  231. name: sensor