lucking_hs6_lock.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. name: Door lock
  2. products:
  3. - id: 7veecefmxfxsu0b8
  4. name: Lucking HF06EM/HF06MF-W-WIFI
  5. primary_entity:
  6. entity: lock
  7. dps:
  8. # dps 1 - 9 are config related and not supported
  9. - id: 28
  10. type: boolean
  11. name: lock
  12. optional: true
  13. mapping:
  14. - dps_val: null
  15. value: false
  16. - id: 40
  17. type: boolean
  18. # this is a guess for "lock_motor_state"
  19. name: jammed
  20. optional: true
  21. persist: false
  22. mapping:
  23. - dps_val: null
  24. value: false
  25. - id: 10
  26. type: string
  27. name: unlock_fingerprint
  28. optional: true
  29. persist: false
  30. - id: 11
  31. type: string
  32. name: unlock_password
  33. optional: true
  34. persist: false
  35. - id: 12
  36. type: string
  37. name: unlock_card
  38. optional: true
  39. persist: false
  40. - id: 15
  41. type: string
  42. # "double" in Tuya doc, but no idea what that means. Key is unused.
  43. name: unlock_key
  44. optional: true
  45. persist: false
  46. - id: 16
  47. type: string
  48. name: unlock_temp_pwd
  49. optional: true
  50. persist: false
  51. - id: 17
  52. type: string
  53. name: unlock_offline_pwd
  54. optional: true
  55. persist: false
  56. - id: 22
  57. type: string
  58. name: unlock_app
  59. optional: true
  60. persist: false
  61. - id: 23
  62. type: string
  63. name: lock_alarm_kit
  64. optional: true
  65. - id: 29
  66. type: string
  67. name: normal_open_period
  68. optional: true
  69. - id: 35
  70. type: string
  71. name: closed_open_kit
  72. optional: true
  73. - id: 104
  74. type: string
  75. name: ble_unlock_check
  76. optional: true
  77. - id: 105
  78. type: integer
  79. name: unlock_ble
  80. optional: true
  81. - id: 212
  82. type: string
  83. name: initiative_msg
  84. optional: true
  85. secondary_entities:
  86. - entity: select
  87. name: Multi-factor authentication
  88. icon: "mdi:two-factor-authentication"
  89. category: config
  90. dps:
  91. - id: 25
  92. type: string
  93. name: option
  94. optional: true
  95. mapping:
  96. - dps_val: single_unlock
  97. value: Single factor
  98. - dps_val: finger_password
  99. value: Fingerprint+PIN
  100. - dps_val: finger_card
  101. value: Card+Fingerprint
  102. - dps_val: finger_face
  103. value: Fingerprint+Face
  104. - dps_val: password_card
  105. value: Card+PIN
  106. - dps_val: card_face
  107. value: Card+Face
  108. - entity: select
  109. translation_key: language
  110. category: config
  111. dps:
  112. - id: 27
  113. type: string
  114. name: option
  115. optional: true
  116. mapping:
  117. - dps_val: chinese_simplified
  118. value: chinese
  119. - dps_val: english
  120. value: english
  121. - dps_val: japanese
  122. value: japanese
  123. - dps_val: german
  124. value: german
  125. - dps_val: spanish
  126. value: spanish
  127. - dps_val: latin
  128. value: latin
  129. - dps_val: french
  130. value: french
  131. - dps_val: russian
  132. value: russian
  133. - dps_val: italian
  134. value: italian
  135. - dps_val: chinese_traditional
  136. value: chinese_traditional
  137. - dps_val: korean
  138. value: korean
  139. - entity: switch
  140. name: Auto lock
  141. icon: "mdi:lock-reset"
  142. category: config
  143. dps:
  144. - id: 30
  145. type: boolean
  146. name: switch
  147. - entity: number
  148. name: Auto lock time
  149. category: config
  150. icon: "mdi:lock-clock"
  151. dps:
  152. - id: 31
  153. type: integer
  154. name: value
  155. optional: true
  156. unit: s
  157. range:
  158. min: 0
  159. max: 1800
  160. - entity: number
  161. name: Alarm time
  162. category: config
  163. icon: "mdi:timer-music"
  164. dps:
  165. - id: 34
  166. type: integer
  167. name: value
  168. unit: s
  169. range:
  170. min: 0
  171. max: 1800
  172. - entity: select
  173. name: Doorbell tune
  174. icon: "mdi:bell-ring"
  175. category: config
  176. dps:
  177. - id: 102
  178. type: string
  179. name: option
  180. optional: true
  181. mapping:
  182. - dps_val: ding_0
  183. value: Ding 0
  184. - dps_val: ding_1
  185. value: Ding 1
  186. - dps_val: ding_2
  187. value: Ding 2
  188. - dps_val: ding_3
  189. value: Ding 3
  190. - dps_val: ding_4
  191. value: Ding 4
  192. - dps_val: ding_5
  193. value: Ding 5
  194. - dps_val: ding_6
  195. value: Ding 6
  196. - dps_val: ding_7
  197. value: Ding 7
  198. - dps_val: ding_8
  199. value: Ding 8
  200. - dps_val: ding_9
  201. value: Ding 9
  202. - id: 103
  203. type: string
  204. name: doorbell_song_kit
  205. optional: true
  206. - entity: event
  207. class: doorbell
  208. category: diagnostic
  209. dps:
  210. - id: 101
  211. type: boolean
  212. optional: true
  213. name: event
  214. mapping:
  215. - dps_val: true
  216. value: ring
  217. - dps_val: false
  218. value: null