ble_pulido_p13_lock.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. name: Smart Lock
  2. products:
  3. - id: kdq0tdbz
  4. name: Pulido ‎P13
  5. primary_entity:
  6. entity: lock
  7. dps:
  8. - id: 1
  9. type: string
  10. name: create_unlock_method
  11. optional: true
  12. sensitive: true
  13. - id: 2
  14. type: string
  15. name: delete_unlock_method
  16. optional: true
  17. - id: 3
  18. type: string
  19. name: modify_unlock_method
  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: 15
  33. name: unlock_card
  34. type: integer
  35. optional: true
  36. persist: false
  37. - id: 19
  38. name: unlock_ble
  39. type: integer
  40. optional: true
  41. persist: false
  42. - id: 47 # Lock motor state
  43. name: lock
  44. type: boolean
  45. readonly: true
  46. mapping:
  47. - dps_val: true # Unlocked
  48. value: false
  49. - dps_val: false # Locked
  50. value: true
  51. - id: 55
  52. type: integer
  53. name: unlock_temp_pwd
  54. optional: true
  55. persist: false
  56. - id: 62
  57. type: integer
  58. name: unlock_app
  59. optional: true
  60. persist: false
  61. - id: 63
  62. name: unlock_voice
  63. type: integer
  64. optional: true
  65. persist: false
  66. secondary_entities:
  67. - entity: sensor
  68. name: Alert
  69. class: enum
  70. category: diagnostic
  71. dps:
  72. - id: 21
  73. type: string
  74. name: sensor
  75. optional: true
  76. persist: false
  77. mapping:
  78. - dps_val: null
  79. value: ok
  80. - dps_val: wrong_finger
  81. value: Wrong Finger
  82. - dps_val: wrong_password
  83. value: Wrong Password
  84. - dps_val: wrong_card
  85. value: Wrong Card
  86. - dps_val: wrong_face
  87. value: Wrong Face
  88. - dps_val: tongue_bad
  89. value: Tongue Bad
  90. - dps_val: too_hot
  91. value: Too Hot
  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: key_in
  99. value: Key In
  100. - dps_val: low_battery
  101. value: Low Battery
  102. - dps_val: power_off
  103. value: Power Off
  104. - dps_val: shock
  105. value: Shock
  106. - dps_val: defense
  107. value: Defense
  108. - dps_val: wrong_unlock
  109. value: Wrong Unlock
  110. - entity: switch
  111. name: Auto lock
  112. category: config
  113. icon: "mdi:lock-reset"
  114. dps:
  115. - id: 33
  116. type: boolean
  117. name: switch
  118. mapping:
  119. - dps_val: true
  120. value: false
  121. - dps_val: false
  122. value: true
  123. - entity: select
  124. name: Auto lock delay
  125. icon: "mdi:lock-clock"
  126. category: config
  127. dps:
  128. - id: 26
  129. type: string
  130. name: option
  131. optional: true
  132. mapping:
  133. - dps_val: 5s
  134. value: 5s
  135. - dps_val: 10s
  136. value: 10s
  137. - dps_val: 15s
  138. value: 15s
  139. - dps_val: 30s
  140. value: 30s
  141. - dps_val: 60s
  142. value: 60s
  143. - entity: number
  144. name: Lock volume
  145. category: config
  146. dps:
  147. - id: 31
  148. type: string
  149. name: value
  150. unit: "%"
  151. range:
  152. min: 0
  153. max: 100
  154. mapping:
  155. - dps_val: mute
  156. step: 33
  157. value: 0
  158. icon: "mdi:volume-mute"
  159. - dps_val: low
  160. step: 33
  161. value: 33
  162. icon: "mdi:volume-low"
  163. - dps_val: normal
  164. step: 33
  165. value: 66
  166. icon: "mdi:volume-medium"
  167. - dps_val: high
  168. step: 33
  169. value: 100
  170. icon: "mdi:volume-high"
  171. - entity: switch
  172. name: Double verification unlocking
  173. category: config
  174. icon: "mdi:gesture-two-double-tap"
  175. dps:
  176. - id: 68
  177. type: string
  178. name: switch
  179. optional: true
  180. mapping:
  181. - dps_val: function1
  182. value: false
  183. - dps_val: function2
  184. value: true
  185. - value: false
  186. - entity: sensor
  187. class: battery
  188. category: diagnostic
  189. dps:
  190. - id: 9
  191. type: string
  192. name: sensor
  193. unit: "%"
  194. class: measurement
  195. optional: true
  196. mapping:
  197. - dps_val: high
  198. value: 100
  199. - dps_val: medium
  200. value: 66
  201. - dps_val: low
  202. value: 33
  203. - dps_val: poweroff
  204. value: 0
  205. - entity: select
  206. translation_key: language
  207. category: config
  208. dps:
  209. - id: 28
  210. type: string
  211. name: option
  212. optional: true
  213. mapping:
  214. - dps_val: chinese_simplified
  215. value: chinese
  216. - dps_val: english
  217. value: english
  218. - dps_val: spanish
  219. value: spanish
  220. - dps_val: Portuguese
  221. value: portuguese