4
0

ble_kb150a_lock.yaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. name: Keypad lock
  2. products:
  3. - id: 0binhnjg
  4. manufacturer: TenixLox
  5. model: KB150A
  6. name: Key safe
  7. entities:
  8. - entity: lock
  9. dps:
  10. - id: 12
  11. type: integer
  12. name: unlock_fingerprint
  13. optional: true
  14. persist: false
  15. - id: 13
  16. name: unlock_password
  17. type: integer
  18. optional: true
  19. persist: false
  20. - id: 14
  21. name: unlock_dynamic_pwd
  22. type: integer
  23. optional: true
  24. persist: false
  25. - id: 16
  26. name: unlock_key
  27. type: integer
  28. optional: true
  29. persist: false
  30. - id: 19
  31. name: unlock_ble
  32. type: integer
  33. optional: true
  34. persist: false
  35. - id: 47 # Lock motor state
  36. name: lock_state
  37. type: boolean
  38. mapping:
  39. - dps_val: true # Unlocked
  40. value: false
  41. - dps_val: false # Locked
  42. value: true
  43. - id: 55
  44. type: integer
  45. name: unlock_temp_pwd
  46. optional: true
  47. persist: false
  48. - id: 61
  49. type: base64
  50. name: code_unlock
  51. optional: true
  52. sensitive: true
  53. - id: 62
  54. type: integer
  55. name: unlock_app
  56. optional: true
  57. persist: false
  58. - entity: event
  59. name: Alert
  60. dps:
  61. - id: 21
  62. type: string
  63. name: event
  64. optional: true
  65. mapping:
  66. - dps_val: wrong_finger
  67. value: wrong_finger
  68. - dps_val: wrong_password
  69. value: wrong_password
  70. - dps_val: wrong_card
  71. value: wrong_card
  72. - dps_val: tongue_bad
  73. value: tongue_bad
  74. - dps_val: unclosed_time
  75. value: unclosed_time
  76. - dps_val: tongue_not_out
  77. value: tongue_not_out
  78. - dps_val: pry
  79. value: pry
  80. - dps_val: low_battery
  81. value: low_battery
  82. - dps_val: power_off
  83. value: power_off
  84. - entity: select
  85. name: Lock volume
  86. category: config
  87. dps:
  88. - id: 31
  89. type: string
  90. name: option
  91. mapping:
  92. - dps_val: mute
  93. value: Mute
  94. - dps_val: low
  95. value: Low
  96. - dps_val: normal
  97. value: Normal
  98. - dps_val: high
  99. value: High
  100. - entity: switch
  101. name: Auto lock
  102. category: config
  103. icon: "mdi:lock-reset"
  104. dps:
  105. - id: 33
  106. type: boolean
  107. name: switch
  108. - entity: number
  109. name: Auto lock delay
  110. class: duration
  111. icon: "mdi:lock-clock"
  112. category: config
  113. dps:
  114. - id: 36
  115. type: integer
  116. name: value
  117. unit: s
  118. range:
  119. min: 1
  120. max: 1800
  121. - entity: switch
  122. translation_key: do_not_disturb
  123. category: config
  124. dps:
  125. - id: 76
  126. type: boolean
  127. name: switch
  128. - entity: sensor
  129. class: battery
  130. category: diagnostic
  131. dps:
  132. - id: 8
  133. type: integer
  134. name: sensor
  135. unit: "%"
  136. class: measurement
  137. optional: true
  138. - entity: select
  139. translation_key: language
  140. category: config
  141. dps:
  142. - id: 28
  143. type: string
  144. name: option
  145. optional: true
  146. mapping:
  147. - dps_val: chinese_simplified
  148. value: chinese
  149. - dps_val: english
  150. value: english
  151. - entity: text
  152. name: New credential
  153. category: config
  154. icon: "mdi:card-plus"
  155. hidden: true
  156. dps:
  157. - id: 1
  158. type: base64
  159. name: value
  160. optional: true
  161. sensitive: true
  162. - entity: text
  163. name: Delete credential
  164. category: config
  165. icon: "mdi:card-minus"
  166. hidden: true
  167. dps:
  168. - id: 2
  169. type: base64
  170. name: value
  171. optional: true
  172. sensitive: true
  173. - entity: text
  174. name: Modify credential
  175. category: config
  176. icon: "mdi:credit-card-edit"
  177. hidden: true
  178. dps:
  179. - id: 3
  180. type: base64
  181. name: value
  182. optional: true
  183. sensitive: true