ble_kb150a_lock.yaml 3.7 KB

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