lucking_hs6_lock.yaml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. name: Language
  110. icon: "mdi:translate"
  111. category: config
  112. dps:
  113. - id: 27
  114. type: string
  115. name: option
  116. optional: true
  117. mapping:
  118. - dps_val: chinese_simplified
  119. value: 中文简化字
  120. - dps_val: english
  121. value: English
  122. - dps_val: japanese
  123. value: 日本語
  124. - dps_val: german
  125. value: Deutsch
  126. - dps_val: spanish
  127. value: Español
  128. - dps_val: latin
  129. value: Latin
  130. - dps_val: french
  131. value: Français
  132. - dps_val: russian
  133. value: Русский
  134. - dps_val: italian
  135. value: Italiano
  136. - dps_val: chinese_traditional
  137. value: 中文正體字
  138. - dps_val: korean
  139. value: 한글
  140. - entity: switch
  141. name: Auto lock
  142. icon: "mdi:lock-reset"
  143. category: config
  144. dps:
  145. - id: 30
  146. type: boolean
  147. name: switch
  148. - entity: number
  149. name: Auto lock time
  150. category: config
  151. icon: "mdi:lock-clock"
  152. dps:
  153. - id: 31
  154. type: integer
  155. name: value
  156. optional: true
  157. unit: s
  158. range:
  159. min: 0
  160. max: 1800
  161. - entity: number
  162. name: Alarm time
  163. category: config
  164. icon: "mdi:timer-music"
  165. dps:
  166. - id: 34
  167. type: integer
  168. name: value
  169. unit: s
  170. range:
  171. min: 0
  172. max: 1800
  173. - entity: select
  174. name: Doorbell tune
  175. icon: "mdi:bell-ring"
  176. category: config
  177. dps:
  178. - id: 102
  179. type: string
  180. name: option
  181. optional: true
  182. mapping:
  183. - dps_val: ding_0
  184. value: Ding 0
  185. - dps_val: ding_1
  186. value: Ding 1
  187. - dps_val: ding_2
  188. value: Ding 2
  189. - dps_val: ding_3
  190. value: Ding 3
  191. - dps_val: ding_4
  192. value: Ding 4
  193. - dps_val: ding_5
  194. value: Ding 5
  195. - dps_val: ding_6
  196. value: Ding 6
  197. - dps_val: ding_7
  198. value: Ding 7
  199. - dps_val: ding_8
  200. value: Ding 8
  201. - dps_val: ding_9
  202. value: Ding 9
  203. - id: 103
  204. type: string
  205. name: doorbell_song_kit
  206. optional: true
  207. - entity: event
  208. class: doorbell
  209. category: diagnostic
  210. dps:
  211. - id: 101
  212. type: boolean
  213. optional: true
  214. name: event
  215. mapping:
  216. - dps_val: true
  217. value: ring
  218. - dps_val: false
  219. value: null
  220. - entity: binary_sensor
  221. name: Doorbell
  222. deprecated: event_doorbell
  223. class: sound
  224. category: diagnostic
  225. dps:
  226. - id: 101
  227. type: boolean
  228. name: sensor
  229. optional: true
  230. mapping:
  231. - dps_val: null
  232. value: false