ble_smart_lock_kb150a.yaml 3.9 KB

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