lucking_hs6_lock.yaml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. mapping:
  22. - dps_val: null
  23. value: false
  24. - id: 10
  25. type: string
  26. name: unlock_fingerprint
  27. optional: true
  28. - id: 11
  29. type: string
  30. name: unlock_password
  31. optional: true
  32. - id: 12
  33. type: string
  34. name: unlock_card
  35. optional: true
  36. - id: 15
  37. type: string
  38. # "double" in Tuya doc, but no idea what that means. Key is unused.
  39. name: unlock_key
  40. optional: true
  41. - id: 16
  42. type: string
  43. name: unlock_temp_pwd
  44. optional: true
  45. - id: 17
  46. type: string
  47. name: unlock_offline_pwd
  48. optional: true
  49. - id: 22
  50. type: string
  51. name: unlock_app
  52. optional: true
  53. - id: 23
  54. type: string
  55. name: lock_alarm_kit
  56. optional: true
  57. - id: 29
  58. type: string
  59. name: normal_open_period
  60. optional: true
  61. - id: 35
  62. type: string
  63. name: closed_open_kit
  64. optional: true
  65. - id: 104
  66. type: string
  67. name: ble_unlock_check
  68. optional: true
  69. - id: 105
  70. type: integer
  71. name: unlock_ble
  72. optional: true
  73. - id: 212
  74. type: string
  75. name: initiative_msg
  76. optional: true
  77. secondary_entities:
  78. - entity: select
  79. name: Multi-factor authentication
  80. icon: "mdi:two-factor-authentication"
  81. category: config
  82. dps:
  83. - id: 25
  84. type: string
  85. name: option
  86. optional: true
  87. mapping:
  88. - dps_val: single_unlock
  89. value: Single factor
  90. - dps_val: finger_password
  91. value: Fingerprint+PIN
  92. - dps_val: finger_card
  93. value: Card+Fingerprint
  94. - dps_val: finger_face
  95. value: Fingerprint+Face
  96. - dps_val: password_card
  97. value: Card+PIN
  98. - dps_val: card_face
  99. value: Card+Face
  100. - entity: select
  101. name: Language
  102. icon: "mdi:translate"
  103. category: config
  104. dps:
  105. - id: 27
  106. type: string
  107. name: option
  108. optional: true
  109. mapping:
  110. - dps_val: chinese_simplified
  111. value: 中文简化字
  112. - dps_val: english
  113. value: English
  114. - dps_val: japanese
  115. value: 日本語
  116. - dps_val: german
  117. value: Deutsch
  118. - dps_val: spanish
  119. value: Español
  120. - dps_val: latin
  121. value: Latin
  122. - dps_val: french
  123. value: Français
  124. - dps_val: russian
  125. value: Русский
  126. - dps_val: italian
  127. value: Italiano
  128. - dps_val: chinese_traditional
  129. value: 中文正體字
  130. - dps_val: korean
  131. value: 한글
  132. - entity: switch
  133. name: Auto lock
  134. icon: "mdi:lock-reset"
  135. category: config
  136. dps:
  137. - id: 30
  138. type: boolean
  139. name: switch
  140. - entity: number
  141. name: Auto lock time
  142. category: config
  143. icon: "mdi:lock-clock"
  144. dps:
  145. - id: 31
  146. type: integer
  147. name: value
  148. optional: true
  149. unit: s
  150. range:
  151. min: 0
  152. max: 1800
  153. - entity: number
  154. name: Alarm time
  155. category: config
  156. icon: "mdi:timer-music"
  157. dps:
  158. - id: 34
  159. type: integer
  160. name: value
  161. unit: s
  162. range:
  163. min: 0
  164. max: 1800
  165. - entity: select
  166. name: Doorbell tune
  167. icon: "mdi:bell-ring"
  168. category: config
  169. dps:
  170. - id: 102
  171. type: string
  172. name: option
  173. optional: true
  174. mapping:
  175. - dps_val: ding_0
  176. value: Ding 0
  177. - dps_val: ding_1
  178. value: Ding 1
  179. - dps_val: ding_2
  180. value: Ding 2
  181. - dps_val: ding_3
  182. value: Ding 3
  183. - dps_val: ding_4
  184. value: Ding 4
  185. - dps_val: ding_5
  186. value: Ding 5
  187. - dps_val: ding_6
  188. value: Ding 6
  189. - dps_val: ding_7
  190. value: Ding 7
  191. - dps_val: ding_8
  192. value: Ding 8
  193. - dps_val: ding_9
  194. value: Ding 9
  195. - id: 103
  196. type: string
  197. name: doorbell_song_kit
  198. optional: true
  199. - entity: binary_sensor
  200. name: Doorbell
  201. class: sound
  202. category: diagnostic
  203. dps:
  204. - id: 101
  205. type: boolean
  206. name: sensor
  207. optional: true
  208. mapping:
  209. - dps_val: null
  210. value: false