bstuokey_invisible_lock.yaml 3.4 KB

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