bstuokey_access_keypad.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. name: Access control keypad
  2. products:
  3. - id: 5k8h97qska6pf5cm
  4. name: BSTUOKEY keypad
  5. primary_entity:
  6. entity: lock
  7. dps:
  8. - id: 104
  9. type: boolean
  10. name: lock
  11. mapping:
  12. - dps_val: true
  13. value: false
  14. - dps_val: false
  15. value: true
  16. - id: 10
  17. type: string
  18. optional: true
  19. persist: false
  20. name: unlock_fingerprint
  21. - id: 11
  22. type: string
  23. optional: true
  24. persist: false
  25. name: unlock_password
  26. - id: 12
  27. type: string
  28. optional: true
  29. persist: false
  30. name: unlock_card
  31. - id: 16
  32. type: string
  33. optional: true
  34. persist: false
  35. name: unlock_temp_pwd
  36. - id: 17
  37. type: string
  38. optional: true
  39. persist: false
  40. name: unlock_offline_pwd
  41. - id: 23
  42. type: string
  43. optional: true
  44. name: alarm_record
  45. secondary_entities:
  46. - entity: number
  47. name: Doorbell volume
  48. icon: "mdi:bell"
  49. category: config
  50. dps:
  51. - id: 26
  52. type: string
  53. name: value
  54. unit: "%"
  55. range:
  56. min: 0
  57. max: 100
  58. mapping:
  59. - dps_val: mute
  60. value: 0
  61. step: 33
  62. - dps_val: low
  63. value: 33
  64. step: 33
  65. - dps_val: middle
  66. value: 67
  67. step: 33
  68. - dps_val: high
  69. value: 100
  70. step: 33
  71. - id: 24
  72. type: string
  73. optional: true
  74. name: tune
  75. - entity: switch
  76. name: Auto lock
  77. icon: "mdi:lock-reset"
  78. category: config
  79. dps:
  80. - id: 30
  81. type: boolean
  82. name: switch
  83. - entity: number
  84. name: Auto lock time
  85. category: config
  86. icon: "mdi:lock-reset"
  87. dps:
  88. - id: 31
  89. type: integer
  90. name: value
  91. unit: s
  92. range:
  93. min: 1
  94. max: 99
  95. - entity: number
  96. name: Alarm timeout
  97. category: config
  98. icon: "mdi:alarm"
  99. dps:
  100. - id: 34
  101. type: integer
  102. name: value
  103. unit: s
  104. range:
  105. min: 0
  106. max: 180
  107. mapping:
  108. - step: 10
  109. - entity: binary_sensor
  110. name: Doorbell
  111. class: sound
  112. dps:
  113. - id: 101
  114. type: boolean
  115. name: sensor
  116. - entity: switch
  117. name: Beep on error
  118. category: config
  119. dps:
  120. - id: 102
  121. type: boolean
  122. name: switch
  123. - entity: binary_sensor
  124. class: tamper
  125. category: diagnostic
  126. dps:
  127. - id: 103
  128. type: boolean
  129. name: sensor
  130. optional: true
  131. mapping:
  132. - dps_val: null
  133. value: false
  134. - entity: binary_sensor
  135. class: door
  136. category: diagnostic
  137. dps:
  138. - id: 105
  139. type: boolean
  140. optional: true
  141. name: sensor