nice_digi_lock.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. name: Door lock
  2. products:
  3. - id: ofwvna43
  4. manufacturer: Nice Digi
  5. entities:
  6. - entity: lock
  7. dps:
  8. - id: 1
  9. type: string
  10. name: unlock_method_create
  11. optional: true
  12. sensitive: true
  13. - id: 2
  14. type: string
  15. name: unlock_method_delete
  16. optional: true
  17. - id: 3
  18. type: string
  19. name: unlock_method_modify
  20. optional: true
  21. sensitive: true
  22. - id: 12
  23. type: integer
  24. name: unlock_fingerprint
  25. optional: true
  26. persist: false
  27. - id: 19
  28. type: integer
  29. name: unlock_ble
  30. optional: true
  31. persist: false
  32. - id: 20
  33. type: string
  34. name: lock_record
  35. optional: true
  36. - id: 46
  37. type: boolean
  38. name: lock
  39. optional: true
  40. - id: 47
  41. type: boolean
  42. name: lock_state
  43. optional: true
  44. - id: 54
  45. type: string
  46. name: sync_method
  47. optional: true
  48. sensitive: true
  49. - id: 61
  50. type: string
  51. name: remote_no_dp_key
  52. optional: true
  53. sensitive: true
  54. - id: 62
  55. type: integer
  56. name: unlock_app
  57. optional: true
  58. persist: false
  59. - id: 70
  60. type: string
  61. name: check_code_set
  62. optional: true
  63. sensitive: true
  64. - id: 71
  65. type: string
  66. name: ble_unlock_check
  67. optional: true
  68. sensitive: true
  69. - id: 73
  70. type: string
  71. name: remote_pd_setkey_check
  72. optional: true
  73. sensitive: true
  74. - entity: sensor
  75. class: battery
  76. category: diagnostic
  77. dps:
  78. - id: 8
  79. type: integer
  80. name: sensor
  81. unit: "%"
  82. class: measurement
  83. - entity: event
  84. name: Alert
  85. category: diagnostic
  86. dps:
  87. - id: 21
  88. type: string
  89. name: event
  90. optional: true
  91. persist: false
  92. mapping:
  93. - dps_val: null
  94. value: ok
  95. - dps_val: wrong_finger
  96. value: wrong_finger
  97. - dps_val: wrong_password
  98. value: wrong_password
  99. - dps_val: wrong_card
  100. value: wrong_card
  101. - dps_val: low_battery
  102. value: low_battery
  103. - dps_val: power_off
  104. value: power_off
  105. - dps_val: tongue_bad
  106. value: tongue_bad
  107. - dps_val: unclosed_time
  108. value: unclosed_time
  109. - entity: binary_sensor
  110. name: Snib
  111. class: lock
  112. category: diagnostic
  113. dps:
  114. - id: 32
  115. type: boolean
  116. name: sensor
  117. mapping:
  118. - dps_val: true
  119. icon: "mdi:lock-remove"
  120. - entity: switch
  121. name: Auto lock
  122. icon: "mdi:lock-reset"
  123. category: config
  124. dps:
  125. - id: 33
  126. type: boolean
  127. name: switch
  128. - entity: number
  129. name: Auto lock delay
  130. category: config
  131. icon: "mdi:lock-clock"
  132. dps:
  133. - id: 36
  134. type: integer
  135. name: value
  136. optional: true
  137. unit: s
  138. range:
  139. min: 5
  140. max: 60
  141. - entity: select
  142. name: Special function
  143. category: config
  144. dps:
  145. - id: 68
  146. type: string
  147. name: option
  148. mapping:
  149. - dps_val: function1
  150. value: Function 1
  151. - dps_val: function2
  152. value: Function 2
  153. - entity: switch
  154. name: Special control
  155. category: config
  156. dps:
  157. - id: 78
  158. type: boolean
  159. name: switch