raykube_a1promax_lock.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. name: Door lock
  2. products:
  3. - id: rlyxv7pe
  4. name: Raykube A1 Pro Max
  5. primary_entity:
  6. entity: lock
  7. dps:
  8. - id: 1
  9. type: string
  10. optional: true
  11. name: unlock_method_create
  12. - id: 2
  13. type: string
  14. optional: true
  15. name: unlock_method_delete
  16. - id: 3
  17. type: string
  18. optional: true
  19. name: unlock_method_modify
  20. - id: 16
  21. type: integer
  22. optional: true
  23. persist: false
  24. name: unlock_key
  25. - id: 19
  26. type: integer
  27. optional: true
  28. persist: false
  29. name: unlock_ble
  30. - id: 20
  31. type: string
  32. optional: true
  33. name: lock_record
  34. - id: 46
  35. type: boolean
  36. name: lock
  37. - id: 47
  38. type: boolean
  39. name: open
  40. readonly: true
  41. - id: 54
  42. type: string
  43. optional: true
  44. name: sync_method
  45. - id: 61
  46. type: string
  47. optional: true
  48. name: remote_no_dp_key
  49. - id: 62
  50. type: integer
  51. optional: true
  52. persist: false
  53. name: unlock_app
  54. - id: 63
  55. type: integer
  56. optional: true
  57. persist: false
  58. name: unlock_voice
  59. - id: 69
  60. type: string
  61. optional: true
  62. name: record
  63. - id: 70
  64. type: string
  65. optional: true
  66. name: check_code_set
  67. - id: 71
  68. type: string
  69. optional: true
  70. name: ble_unlock_check
  71. - id: 72
  72. type: string
  73. optional: true
  74. name: unlock_record_check
  75. - id: 73
  76. type: string
  77. optional: true
  78. name: remote_pd_setkey_check
  79. secondary_entities:
  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