raykube_a1promax_lock.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. name: Door lock
  2. products:
  3. - id: rlyxv7pe
  4. manufacturer: Raykube
  5. model: A1 Pro Max
  6. - id: hc7n0urm
  7. manufacturer: Raykube
  8. model: A1 Pro Max
  9. entities:
  10. - entity: lock
  11. dps:
  12. - id: 16
  13. type: integer
  14. optional: true
  15. persist: false
  16. name: unlock_key
  17. - id: 19
  18. type: integer
  19. optional: true
  20. persist: false
  21. name: unlock_ble
  22. - id: 20
  23. type: string
  24. optional: true
  25. name: lock_record
  26. - id: 46
  27. type: boolean
  28. optional: true
  29. name: lock
  30. - id: 47
  31. type: boolean
  32. name: open
  33. readonly: true
  34. - id: 61
  35. type: base64
  36. optional: true
  37. name: code_unlock
  38. - id: 62
  39. type: integer
  40. optional: true
  41. persist: false
  42. name: unlock_app
  43. - id: 63
  44. type: integer
  45. optional: true
  46. persist: false
  47. name: unlock_voice
  48. - id: 69
  49. type: string
  50. optional: true
  51. name: record
  52. - id: 70
  53. type: string
  54. optional: true
  55. name: check_code_set
  56. - id: 71
  57. type: string
  58. optional: true
  59. name: ble_unlock_check
  60. - id: 72
  61. type: string
  62. optional: true
  63. name: unlock_record_check
  64. - entity: sensor
  65. class: battery
  66. category: diagnostic
  67. dps:
  68. - id: 9
  69. type: string
  70. name: sensor
  71. unit: "%"
  72. mapping:
  73. - dps_val: high
  74. value: 90
  75. - dps_val: medium
  76. value: 60
  77. - dps_val: low
  78. value: 30
  79. - dps_val: poweroff
  80. value: 0
  81. - entity: event
  82. name: Alert
  83. dps:
  84. - id: 21
  85. type: string
  86. name: event
  87. optional: true
  88. mapping:
  89. - dps_val: low_battery
  90. value: low_battery
  91. - dps_val: power_off
  92. value: power_off
  93. - entity: switch
  94. translation_key: keytone
  95. category: config
  96. dps:
  97. - id: 31
  98. type: string
  99. optional: true
  100. name: switch
  101. mapping:
  102. - dps_val: normal
  103. value: true
  104. - dps_val: mute
  105. value: false
  106. - entity: switch
  107. name: Auto-lock
  108. icon: "mdi:lock-clock"
  109. category: config
  110. dps:
  111. - id: 33
  112. type: boolean
  113. name: switch
  114. optional: true
  115. - entity: number
  116. name: Auto lock time
  117. category: config
  118. icon: "mdi:lock-clock"
  119. dps:
  120. - id: 36
  121. type: integer
  122. name: value
  123. unit: s
  124. range:
  125. min: 1
  126. max: 1800
  127. optional: true
  128. - entity: button
  129. name: Sync clock
  130. icon: "mdi:clock"
  131. category: config
  132. dps:
  133. - id: 44
  134. type: boolean
  135. name: button
  136. optional: true
  137. - entity: select
  138. name: Special function
  139. icon: "mdi:function"
  140. category: config
  141. dps:
  142. - id: 68
  143. type: string
  144. optional: true
  145. name: option
  146. mapping:
  147. - dps_val: function1
  148. value: Recalibrate
  149. - dps_val: function2
  150. value: Unlock more
  151. - dps_val: function3
  152. value: Keep retracted
  153. - dps_val: function4
  154. value: Add force
  155. - entity: switch
  156. name: Change direction
  157. category: config
  158. dps:
  159. - id: 78
  160. type: boolean
  161. name: switch
  162. - entity: text
  163. name: Remote unlock code
  164. category: config
  165. icon: "mdi:form-textbox-password"
  166. hidden: true
  167. dps:
  168. - id: 73
  169. type: string
  170. optional: true
  171. sensitive: true
  172. name: value
  173. - entity: text
  174. name: New credential
  175. category: config
  176. icon: "mdi:card-plus"
  177. hidden: true
  178. dps:
  179. - id: 1
  180. type: base64
  181. optional: true
  182. sensitive: true
  183. name: value
  184. - entity: text
  185. name: Delete credential
  186. category: config
  187. icon: "mdi:card-minus"
  188. hidden: true
  189. dps:
  190. - id: 2
  191. type: base64
  192. optional: true
  193. sensitive: true
  194. name: value
  195. - entity: text
  196. name: Modify credential
  197. category: config
  198. icon: "mdi:credit-card-edit"
  199. hidden: true
  200. dps:
  201. - id: 3
  202. type: base64
  203. optional: true
  204. sensitive: true
  205. name: value
  206. - entity: text
  207. name: Sync credentials
  208. category: config
  209. icon: "mdi:lock-reset"
  210. hidden: true
  211. dps:
  212. - id: 54
  213. type: base64
  214. optional: true
  215. sensitive: true
  216. name: value