ble_kb150a_lock.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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: 1
  11. type: string
  12. name: unlock_method_create
  13. optional: true
  14. sensitive: true
  15. - id: 2
  16. type: string
  17. name: unlock_method_delete
  18. optional: true
  19. - id: 3
  20. type: string
  21. name: unlock_method_modify
  22. optional: true
  23. sensitive: true
  24. - id: 12
  25. type: integer
  26. name: unlock_fingerprint
  27. optional: true
  28. persist: false
  29. - id: 13
  30. name: unlock_password
  31. type: integer
  32. optional: true
  33. persist: false
  34. - id: 14
  35. name: unlock_dynamic_pwd
  36. type: integer
  37. optional: true
  38. persist: false
  39. - id: 16
  40. name: unlock_key
  41. type: integer
  42. optional: true
  43. persist: false
  44. - id: 19
  45. name: unlock_ble
  46. type: integer
  47. optional: true
  48. persist: false
  49. - id: 47 # Lock motor state
  50. name: lock_state
  51. type: boolean
  52. mapping:
  53. - dps_val: true # Unlocked
  54. value: false
  55. - dps_val: false # Locked
  56. value: true
  57. - id: 55
  58. type: integer
  59. name: unlock_temp_pwd
  60. optional: true
  61. persist: false
  62. - id: 61
  63. type: string
  64. name: remote_no_dp_key
  65. optional: true
  66. persist: false
  67. sensitive: true
  68. - id: 62
  69. type: integer
  70. name: unlock_app
  71. optional: true
  72. persist: false
  73. - entity: event
  74. name: Alert
  75. dps:
  76. - id: 21
  77. type: string
  78. name: event
  79. optional: true
  80. mapping:
  81. - dps_val: wrong_finger
  82. value: wrong_finger
  83. - dps_val: wrong_password
  84. value: wrong_password
  85. - dps_val: wrong_card
  86. value: wrong_card
  87. - dps_val: tongue_bad
  88. value: tongue_bad
  89. - dps_val: unclosed_time
  90. value: unclosed_time
  91. - dps_val: tongue_not_out
  92. value: tongue_not_out
  93. - dps_val: pry
  94. value: pry
  95. - dps_val: low_battery
  96. value: low_battery
  97. - dps_val: power_off
  98. value: power_off
  99. - entity: select
  100. name: Lock volume
  101. category: config
  102. dps:
  103. - id: 31
  104. type: string
  105. name: option
  106. mapping:
  107. - dps_val: mute
  108. value: Mute
  109. - dps_val: low
  110. value: Low
  111. - dps_val: normal
  112. value: Normal
  113. - dps_val: high
  114. value: High
  115. - entity: switch
  116. name: Auto lock
  117. category: config
  118. icon: "mdi:lock-reset"
  119. dps:
  120. - id: 33
  121. type: boolean
  122. name: switch
  123. - entity: number
  124. name: Auto lock delay
  125. class: duration
  126. icon: "mdi:lock-clock"
  127. category: config
  128. dps:
  129. - id: 36
  130. type: integer
  131. name: value
  132. unit: s
  133. range:
  134. min: 1
  135. max: 1800
  136. - entity: switch
  137. name: Do not disturb
  138. category: config
  139. icon: "mdi:sleep"
  140. dps:
  141. - id: 76
  142. type: boolean
  143. name: switch
  144. - entity: sensor
  145. class: battery
  146. category: diagnostic
  147. dps:
  148. - id: 8
  149. type: integer
  150. name: sensor
  151. unit: "%"
  152. class: measurement
  153. optional: true
  154. - entity: select
  155. translation_key: language
  156. category: config
  157. dps:
  158. - id: 28
  159. type: string
  160. name: option
  161. optional: true
  162. mapping:
  163. - dps_val: chinese_simplified
  164. value: chinese
  165. - dps_val: english
  166. value: english