nice_digi_lock.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. name: Door lock
  2. products:
  3. - id: ofwvna43
  4. name: Nice Digi
  5. primary_entity:
  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. secondary_entities:
  78. - entity: sensor
  79. class: battery
  80. category: diagnostic
  81. dps:
  82. - id: 8
  83. type: integer
  84. name: sensor
  85. unit: "%"
  86. class: measurement
  87. - entity: event
  88. name: Alert
  89. category: diagnostic
  90. dps:
  91. - id: 21
  92. type: string
  93. name: event
  94. optional: true
  95. persist: false
  96. mapping:
  97. - dps_val: null
  98. value: ok
  99. - dps_val: wrong_finger
  100. value: wrong_finger
  101. - dps_val: wrong_password
  102. value: wrong_password
  103. - dps_val: wrong_card
  104. value: wrong_card
  105. - dps_val: low_battery
  106. value: low_battery
  107. - dps_val: power_off
  108. value: power_off
  109. - dps_val: tongue_bad
  110. value: tongue_bad
  111. - dps_val: unclosed_time
  112. value: unclosed_time
  113. - entity: binary_sensor
  114. name: Snib
  115. class: lock
  116. category: diagnostic
  117. dps:
  118. - id: 32
  119. type: boolean
  120. name: sensor
  121. mapping:
  122. - dps_val: true
  123. icon: "mdi:lock-remove"
  124. - entity: switch
  125. name: Auto lock
  126. icon: "mdi:lock-reset"
  127. category: config
  128. dps:
  129. - id: 33
  130. type: boolean
  131. name: switch
  132. - entity: number
  133. name: Auto lock delay
  134. category: config
  135. icon: "mdi:lock-clock"
  136. dps:
  137. - id: 36
  138. type: integer
  139. name: value
  140. optional: true
  141. unit: s
  142. range:
  143. min: 5
  144. max: 60
  145. - entity: select
  146. name: Special function
  147. category: config
  148. dps:
  149. - id: 68
  150. type: string
  151. name: option
  152. mapping:
  153. - dps_val: function1
  154. value: Function 1
  155. - dps_val: function2
  156. value: Function 2
  157. - entity: switch
  158. name: Special control
  159. category: config
  160. dps:
  161. - id: 78
  162. type: boolean
  163. name: switch