raykube_a1promax_lock.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. name: Door lock
  2. products:
  3. - id: rlyxv7pe
  4. manufacturer: Raykube
  5. model: A1 Pro Max
  6. entities:
  7. - entity: lock
  8. dps:
  9. - id: 1
  10. type: string
  11. optional: true
  12. name: unlock_method_create
  13. - id: 2
  14. type: string
  15. optional: true
  16. name: unlock_method_delete
  17. - id: 3
  18. type: string
  19. optional: true
  20. name: unlock_method_modify
  21. - id: 16
  22. type: integer
  23. optional: true
  24. persist: false
  25. name: unlock_key
  26. - id: 19
  27. type: integer
  28. optional: true
  29. persist: false
  30. name: unlock_ble
  31. - id: 20
  32. type: string
  33. optional: true
  34. name: lock_record
  35. - id: 46
  36. type: boolean
  37. name: lock
  38. - id: 47
  39. type: boolean
  40. name: open
  41. readonly: true
  42. - id: 54
  43. type: string
  44. optional: true
  45. name: sync_method
  46. - id: 61
  47. type: string
  48. optional: true
  49. name: remote_no_dp_key
  50. - id: 62
  51. type: integer
  52. optional: true
  53. persist: false
  54. name: unlock_app
  55. - id: 63
  56. type: integer
  57. optional: true
  58. persist: false
  59. name: unlock_voice
  60. - id: 69
  61. type: string
  62. optional: true
  63. name: record
  64. - id: 70
  65. type: string
  66. optional: true
  67. name: check_code_set
  68. - id: 71
  69. type: string
  70. optional: true
  71. name: ble_unlock_check
  72. - id: 72
  73. type: string
  74. optional: true
  75. name: unlock_record_check
  76. - id: 73
  77. type: string
  78. optional: true
  79. name: remote_pd_setkey_check
  80. - entity: sensor
  81. class: battery
  82. category: diagnostic
  83. dps:
  84. - id: 9
  85. type: string
  86. name: sensor
  87. unit: "%"
  88. mapping:
  89. - dps_val: high
  90. value: 90
  91. - dps_val: medium
  92. value: 60
  93. - dps_val: low
  94. value: 30
  95. - dps_val: poweroff
  96. value: 0
  97. - entity: event
  98. name: Alert
  99. dps:
  100. - id: 21
  101. type: string
  102. name: event
  103. optional: true
  104. mapping:
  105. - dps_val: low_battery
  106. value: low_battery
  107. - dps_val: power_off
  108. value: power_off
  109. - entity: switch
  110. translation_key: keytone
  111. category: config
  112. dps:
  113. - id: 31
  114. type: string
  115. optional: true
  116. name: switch
  117. mapping:
  118. - dps_val: normal
  119. value: true
  120. - dps_val: mute
  121. value: false
  122. - entity: switch
  123. name: Auto-lock
  124. icon: "mdi:lock-clock"
  125. category: config
  126. dps:
  127. - id: 33
  128. type: boolean
  129. name: switch
  130. optional: true
  131. - entity: number
  132. name: Auto lock time
  133. category: config
  134. icon: "mdi:lock-clock"
  135. dps:
  136. - id: 36
  137. type: integer
  138. name: value
  139. unit: s
  140. range:
  141. min: 1
  142. max: 1800
  143. optional: true
  144. - entity: button
  145. name: Sync clock
  146. icon: "mdi:clock"
  147. category: config
  148. dps:
  149. - id: 44
  150. type: boolean
  151. name: button
  152. optional: true
  153. - entity: select
  154. name: Special function
  155. icon: "mdi:function"
  156. category: config
  157. dps:
  158. - id: 68
  159. type: string
  160. optional: true
  161. name: option
  162. mapping:
  163. - dps_val: function1
  164. value: Recalibrate
  165. - dps_val: function2
  166. value: Unlock more
  167. - dps_val: function3
  168. value: Keep retracted
  169. - dps_val: function4
  170. value: Add force
  171. - entity: switch
  172. name: Change direction
  173. category: config
  174. dps:
  175. - id: 78
  176. type: boolean
  177. name: switch