nice_digi_lock.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. - id: 2
  13. type: string
  14. name: unlock_method_delete
  15. optional: true
  16. - id: 3
  17. type: string
  18. name: unlock_method_modify
  19. optional: true
  20. - id: 12
  21. type: integer
  22. name: unlock_fingerprint
  23. optional: true
  24. persist: false
  25. - id: 19
  26. type: integer
  27. name: unlock_ble
  28. optional: true
  29. persist: false
  30. - id: 20
  31. type: string
  32. name: lock_record
  33. optional: true
  34. - id: 46
  35. type: boolean
  36. name: lock
  37. optional: true
  38. mapping:
  39. - dps_val: null
  40. value_mirror: lock_motor_state
  41. - id: 47
  42. type: boolean
  43. name: lock_motor_state
  44. optional: true
  45. - id: 54
  46. type: string
  47. name: sync_method
  48. optional: true
  49. - id: 61
  50. type: string
  51. name: remote_no_dp_key
  52. optional: true
  53. - id: 62
  54. type: integer
  55. name: unlock_app
  56. optional: true
  57. persist: false
  58. - id: 70
  59. type: string
  60. name: check_code_set
  61. optional: true
  62. - id: 71
  63. type: string
  64. name: ble_unlock_check
  65. optional: true
  66. - id: 73
  67. type: string
  68. name: remote_pd_setkey_check
  69. optional: true
  70. secondary_entities:
  71. - entity: sensor
  72. class: battery
  73. category: diagnostic
  74. dps:
  75. - id: 8
  76. type: integer
  77. name: sensor
  78. unit: "%"
  79. class: measurement
  80. - entity: event
  81. name: Alert
  82. category: diagnostic
  83. dps:
  84. - id: 21
  85. type: string
  86. name: event
  87. optional: true
  88. - entity: binary_sensor
  89. name: Snib
  90. class: lock
  91. category: diagnostic
  92. dps:
  93. - id: 32
  94. type: boolean
  95. name: sensor
  96. mapping:
  97. - dps_val: true
  98. icon: "mdi:lock-remove"
  99. - entity: switch
  100. name: Auto lock
  101. icon: "mdi:lock-reset"
  102. category: config
  103. dps:
  104. - id: 33
  105. type: boolean
  106. name: switch
  107. - entity: number
  108. name: Auto lock delay
  109. category: config
  110. icon: "mdi:lock-clock"
  111. dps:
  112. - id: 36
  113. type: integer
  114. name: value
  115. optional: true
  116. unit: s
  117. range:
  118. min: 5
  119. max: 60
  120. - entity: select
  121. name: Special function
  122. category: config
  123. dps:
  124. - id: 68
  125. type: string
  126. name: option
  127. mapping:
  128. - dps_val: function1
  129. value: Function 1
  130. - dps_val: function2
  131. value: Function 2
  132. - entity: switch
  133. name: Special control
  134. category: config
  135. dps:
  136. - id: 78
  137. type: boolean
  138. name: switch