ble_ysgbs01_lock.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. name: Door lock
  2. products:
  3. - id: isk2p555
  4. manufacturer: YSG
  5. model: BS01
  6. entities:
  7. - entity: lock
  8. dps:
  9. - id: 1
  10. type: string
  11. name: create_unlock_method
  12. optional: true
  13. sensitive: true
  14. - id: 2
  15. type: string
  16. name: delete_unlock_method
  17. optional: true
  18. - id: 3
  19. type: string
  20. name: modify_unlock_method
  21. optional: true
  22. sensitive: true
  23. - id: 6
  24. type: string
  25. name: bluetooth_unlock
  26. optional: true
  27. - id: 12
  28. type: integer
  29. name: unlock_fingerprint
  30. optional: true
  31. persist: false
  32. - id: 13
  33. type: integer
  34. name: unlock_password
  35. optional: true
  36. persist: false
  37. - id: 14
  38. type: integer
  39. name: unlock_dynamic_pwd
  40. optional: true
  41. persist: false
  42. - id: 19
  43. type: integer
  44. name: unlock_ble
  45. optional: true
  46. persist: false
  47. - id: 47
  48. type: boolean
  49. name: lock
  50. optional: true
  51. readonly: true
  52. - id: 55
  53. type: integer
  54. name: unlock_temp_pwd
  55. optional: true
  56. persist: false
  57. - id: 62
  58. type: integer
  59. name: unlock_app
  60. optional: true
  61. persist: false
  62. - id: 63
  63. type: integer
  64. name: unlock_voice
  65. optional: true
  66. persist: false
  67. - entity: sensor
  68. class: battery
  69. category: diagnostic
  70. dps:
  71. - id: 8
  72. type: integer
  73. name: sensor
  74. unit: "%"
  75. class: measurement
  76. - entity: sensor
  77. name: Alert
  78. class: enum
  79. category: diagnostic
  80. dps:
  81. - id: 21
  82. type: string
  83. name: sensor
  84. optional: true
  85. persist: false
  86. mapping:
  87. - dps_val: null
  88. value: ok
  89. - dps_val: wrong_finger
  90. value: wrong_finger
  91. - dps_val: wrong_password
  92. value: wrong_password
  93. - dps_val: low_battery
  94. value: low_battery
  95. - entity: binary_sensor
  96. class: battery
  97. category: diagnostic
  98. dps:
  99. - id: 21
  100. type: string
  101. optional: true
  102. name: sensor
  103. mapping:
  104. - dps_val: low_battery
  105. value: true
  106. - value: false
  107. - entity: select
  108. translation_key: language
  109. category: config
  110. dps:
  111. - id: 28
  112. type: string
  113. name: option
  114. mapping:
  115. - dps_val: chinese_simplified
  116. value: chinese
  117. - dps_val: english
  118. value: english
  119. - entity: number
  120. name: Beep volume
  121. category: config
  122. icon: "mdi:volume-high"
  123. dps:
  124. - id: 31
  125. type: string
  126. name: value
  127. unit: "%"
  128. range:
  129. min: 0
  130. max: 100
  131. mapping:
  132. - dps_val: mute
  133. step: 33
  134. value: 0
  135. - dps_val: low
  136. step: 33
  137. value: 33
  138. - dps_val: normal
  139. step: 33
  140. value: 66
  141. - dps_val: high
  142. step: 33
  143. value: 100