bstuokey_invisible_lock.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. name: Door lock
  2. products:
  3. - id: kpn4zaf7
  4. manufacturer: BSTUOKEY
  5. model: RX2052
  6. name: Invisible induction lock
  7. entities:
  8. - entity: lock
  9. dps:
  10. - id: 1
  11. type: string
  12. optional: true
  13. sensitive: true
  14. name: unlock_method_create
  15. - id: 2
  16. type: string
  17. optional: true
  18. name: unlock_method_delete
  19. - id: 3
  20. type: string
  21. optional: true
  22. sensitive: true
  23. name: unlock_method_modify
  24. - id: 15
  25. type: integer
  26. optional: true
  27. persist: false
  28. name: unlock_card
  29. - id: 19
  30. type: integer
  31. optional: true
  32. persist: false
  33. name: unlock_ble
  34. - id: 21
  35. type: string
  36. optional: true
  37. persist: false
  38. name: jammed
  39. mapping:
  40. - dps_val: tongue_bad
  41. value: true
  42. - dps_val: tongue_not_out
  43. value: true
  44. - value: false
  45. - id: 47
  46. type: boolean
  47. readonly: true
  48. name: lock
  49. - id: 54
  50. type: string
  51. optional: true
  52. sensitive: true
  53. name: synch_method
  54. - id: 70
  55. type: string
  56. optional: true
  57. sensitive: true
  58. name: check_code_set
  59. - id: 71
  60. type: string
  61. optional: true
  62. sensitive: true
  63. name: ble_unlock_check
  64. - entity: sensor
  65. class: battery
  66. category: diagnostic
  67. dps:
  68. - id: 9
  69. type: string
  70. name: sensor
  71. unit: "%"
  72. mapping:
  73. - dps_val: high
  74. value: 90
  75. - dps_val: medium
  76. value: 60
  77. - dps_val: low
  78. value: 30
  79. - dps_val: poweroff
  80. value: 0
  81. - entity: sensor
  82. name: Alert
  83. class: enum
  84. category: diagnostic
  85. dps:
  86. - id: 21
  87. type: string
  88. optional: true
  89. persist: false
  90. name: sensor
  91. mapping:
  92. - dps_val: null
  93. value: ok
  94. - dps_val: wrong_finger
  95. value: wrong_finger
  96. - dps_val: wrong_password
  97. value: wrong_password
  98. - dps_val: wrong_card
  99. value: wrong_card
  100. - dps_val: wrong_face
  101. value: wrong_face
  102. - dps_val: tongue_bad
  103. value: tongue_bad
  104. - dps_val: too_hot
  105. value: too_hot
  106. - dps_val: unclosed_time
  107. value: unclosed_time
  108. - dps_val: tongue_not_out
  109. value: tongue_not_out
  110. - dps_val: pry
  111. value: pry
  112. - dps_val: key_in
  113. value: key_in
  114. - dps_val: low_battery
  115. value: low_battery
  116. - dps_val: power_off
  117. value: power_off
  118. - dps_val: shock
  119. value: shock
  120. - dps_val: defense
  121. value: defense
  122. - dps_val: wrong_unlock
  123. value: wrong_unlock
  124. - entity: select
  125. translation_key: language
  126. category: config
  127. dps:
  128. - id: 28
  129. type: string
  130. name: option
  131. mapping:
  132. - dps_val: chinese_simplified
  133. value: chinese
  134. - dps_val: english
  135. value: english
  136. - entity: number
  137. name: Beep volume
  138. category: config
  139. icon: "mdi:volume-high"
  140. dps:
  141. - id: 31
  142. type: string
  143. name: value
  144. unit: "%"
  145. range:
  146. min: 0
  147. max: 100
  148. mapping:
  149. - dps_val: mute
  150. value: 0
  151. step: 33
  152. icon: "mdi:volume-mute"
  153. - dps_val: low
  154. value: 33
  155. step: 33
  156. icon: "mdi:volume-low"
  157. - dps_val: normal
  158. value: 66
  159. step: 33
  160. icon: "mdi:volume-medium"
  161. - dps_val: high
  162. value: 100
  163. step: 33