nice_digi_lock.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. mapping:
  41. - dps_val: null
  42. value_mirror: lock_motor_state
  43. - id: 47
  44. type: boolean
  45. name: lock_motor_state
  46. optional: true
  47. - id: 54
  48. type: string
  49. name: sync_method
  50. optional: true
  51. sensitive: true
  52. - id: 61
  53. type: string
  54. name: remote_no_dp_key
  55. optional: true
  56. sensitive: true
  57. - id: 62
  58. type: integer
  59. name: unlock_app
  60. optional: true
  61. persist: false
  62. - id: 70
  63. type: string
  64. name: check_code_set
  65. optional: true
  66. sensitive: true
  67. - id: 71
  68. type: string
  69. name: ble_unlock_check
  70. optional: true
  71. sensitive: true
  72. - id: 73
  73. type: string
  74. name: remote_pd_setkey_check
  75. optional: true
  76. sensitive: true
  77. - entity: sensor
  78. class: battery
  79. category: diagnostic
  80. dps:
  81. - id: 8
  82. type: integer
  83. name: sensor
  84. unit: "%"
  85. class: measurement
  86. - entity: event
  87. name: Alert
  88. category: diagnostic
  89. dps:
  90. - id: 21
  91. type: string
  92. name: event
  93. optional: true
  94. persist: false
  95. mapping:
  96. - dps_val: null
  97. value: ok
  98. - dps_val: wrong_finger
  99. value: wrong_finger
  100. - dps_val: wrong_password
  101. value: wrong_password
  102. - dps_val: wrong_card
  103. value: wrong_card
  104. - dps_val: low_battery
  105. value: low_battery
  106. - dps_val: power_off
  107. value: power_off
  108. - dps_val: tongue_bad
  109. value: tongue_bad
  110. - dps_val: unclosed_time
  111. value: unclosed_time
  112. - entity: binary_sensor
  113. name: Snib
  114. class: lock
  115. category: diagnostic
  116. dps:
  117. - id: 32
  118. type: boolean
  119. name: sensor
  120. mapping:
  121. - dps_val: true
  122. icon: "mdi:lock-remove"
  123. - entity: switch
  124. name: Auto lock
  125. icon: "mdi:lock-reset"
  126. category: config
  127. dps:
  128. - id: 33
  129. type: boolean
  130. name: switch
  131. - entity: number
  132. name: Auto lock delay
  133. category: config
  134. icon: "mdi:lock-clock"
  135. dps:
  136. - id: 36
  137. type: integer
  138. name: value
  139. optional: true
  140. unit: s
  141. range:
  142. min: 5
  143. max: 60
  144. - entity: select
  145. name: Special function
  146. category: config
  147. dps:
  148. - id: 68
  149. type: string
  150. name: option
  151. mapping:
  152. - dps_val: function1
  153. value: Function 1
  154. - dps_val: function2
  155. value: Function 2
  156. - entity: switch
  157. name: Special control
  158. category: config
  159. dps:
  160. - id: 78
  161. type: boolean
  162. name: switch