liectroux_g7_vacuum.yaml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. name: Robot vacuum
  2. products:
  3. - id: bvcx2bum8jsb4zra
  4. manufacturer: Liectroux
  5. model: G7
  6. entities:
  7. - entity: vacuum
  8. dps:
  9. - id: 101
  10. name: activate # clean_switch
  11. type: boolean
  12. - id: 102
  13. name: command # pause_switch
  14. type: boolean
  15. mapping:
  16. - dps_val: true
  17. value: pause
  18. - dps_val: false
  19. constraint: actual_command
  20. conditions:
  21. - dps_val: smart
  22. value: smart
  23. - dps_val: pose
  24. value: clean_spot
  25. - dps_val: zone
  26. value: zone
  27. - dps_val: backcharge
  28. value: return_to_base
  29. - id: 104
  30. name: actual_command # clean_mode
  31. type: string
  32. hidden: true
  33. - id: 105
  34. name: status # robot_state
  35. type: string
  36. mapping:
  37. - dps_val: idle
  38. value: standby
  39. - dps_val: pointing\areaing
  40. value: pointing_areaing
  41. - dps_val: totaling
  42. value: cleaning
  43. - dps_val: sweep
  44. value: sweep
  45. - dps_val: mop
  46. value: mop
  47. - dps_val: fault
  48. value: error
  49. - dps_val: pause
  50. value: paused
  51. - dps_val: chargring
  52. value: charging
  53. - dps_val: tocharge
  54. value: returning
  55. - dps_val: fullcharge
  56. value: charged
  57. - dps_val: remotectl
  58. value: remotectl
  59. - id: 109
  60. name: fan_speed # fan_mode
  61. type: string
  62. mapping:
  63. - dps_val: quiet
  64. value: Quiet
  65. - dps_val: strong
  66. value: Power
  67. - dps_val: auto
  68. value: Standard
  69. - dps_val: max
  70. value: Max
  71. - id: 111
  72. name: direction_control # remote_ctrl
  73. optional: true
  74. type: string
  75. mapping:
  76. - dps_val: forward
  77. value: forward
  78. - dps_val: backward
  79. value: backward
  80. - dps_val: left
  81. value: left
  82. - dps_val: right
  83. value: right
  84. - dps_val: stop
  85. value: stop
  86. - id: 112
  87. name: locate # seek_robot
  88. optional: true
  89. type: boolean
  90. - id: 123
  91. name: path_comm
  92. optional: true
  93. type: string
  94. - id: 124
  95. name: cmd_comm
  96. optional: true
  97. type: string
  98. - id: 125
  99. name: request_data
  100. optional: true
  101. type: string
  102. - id: 126
  103. name: comm_flag
  104. optional: true
  105. type: string
  106. - id: 127
  107. name: comm_raw
  108. optional: true
  109. type: string
  110. - id: 128
  111. name: message_report
  112. optional: true
  113. type: string
  114. - id: 130
  115. name: sn
  116. optional: true
  117. type: string
  118. - id: 131
  119. name: uuid
  120. optional: true
  121. type: string
  122. - id: 132
  123. name: device_info
  124. optional: true
  125. type: string
  126. - entity: switch
  127. name: Charge switch
  128. category: config
  129. icon: "mdi:power-plug"
  130. dps:
  131. - id: 103
  132. name: switch
  133. type: boolean
  134. - entity: sensor
  135. class: battery
  136. dps:
  137. - id: 106
  138. type: integer
  139. name: sensor
  140. unit: "%"
  141. class: measurement
  142. - entity: sensor
  143. name: Current clean time
  144. category: diagnostic
  145. class: duration
  146. icon: "mdi:clock-outline"
  147. dps:
  148. - id: 107
  149. name: sensor
  150. type: integer
  151. optional: true
  152. unit: s
  153. - entity: sensor
  154. name: Current clean area
  155. class: area
  156. category: diagnostic
  157. dps:
  158. - id: 108
  159. name: sensor
  160. type: integer
  161. optional: true
  162. unit: m2
  163. - entity: select
  164. translation_key: mopping
  165. category: config
  166. dps:
  167. - id: 110
  168. name: option
  169. type: string
  170. optional: true
  171. mapping:
  172. - dps_val: low
  173. value: low
  174. - dps_val: mid
  175. value: medium
  176. - dps_val: high
  177. value: high
  178. - entity: switch
  179. name: Do not disturb
  180. category: config
  181. icon: "mdi:bell-ring"
  182. dps:
  183. - id: 113
  184. name: switch
  185. type: boolean
  186. optional: true
  187. - entity: number
  188. name: Volume
  189. category: config
  190. icon: "mdi:volume-high"
  191. dps:
  192. - id: 114
  193. type: integer
  194. name: value
  195. range:
  196. min: 0
  197. max: 10
  198. - entity: button
  199. name: Get time
  200. category: config
  201. icon: "mdi:clock-outline"
  202. dps:
  203. - id: 115
  204. type: string
  205. name: button
  206. optional: true
  207. mapping:
  208. - dps_val: gettime
  209. value: true
  210. - entity: button
  211. name: Reset side brush
  212. category: config
  213. icon: "mdi:clock-outline"
  214. dps:
  215. - id: 115
  216. type: string
  217. name: button
  218. optional: true
  219. mapping:
  220. - dps_val: resetsidebrush
  221. value: true
  222. - entity: button
  223. name: Reset main brush
  224. category: config
  225. icon: "mdi:clock-outline"
  226. dps:
  227. - id: 115
  228. type: string
  229. name: button
  230. optional: true
  231. mapping:
  232. - dps_val: resetmainbrush
  233. value: true
  234. - entity: button
  235. name: Reset filter
  236. category: config
  237. icon: "mdi:clock-outline"
  238. dps:
  239. - id: 115
  240. type: string
  241. name: button
  242. optional: true
  243. mapping:
  244. - dps_val: resetfilter
  245. value: true
  246. - entity: sensor
  247. name: Total clean time
  248. category: diagnostic
  249. class: duration
  250. icon: "mdi:clock-outline"
  251. dps:
  252. - id: 116
  253. name: sensor
  254. type: integer
  255. unit: s
  256. - entity: sensor
  257. name: Total clean area
  258. class: area
  259. category: diagnostic
  260. dps:
  261. - id: 117
  262. name: sensor
  263. type: integer
  264. optional: true
  265. unit: m2
  266. - entity: sensor
  267. name: Total clean count
  268. category: diagnostic
  269. icon: "mdi:counter"
  270. dps:
  271. - id: 118
  272. name: sensor
  273. type: integer
  274. optional: true
  275. - entity: sensor
  276. name: Side brush time
  277. category: diagnostic
  278. class: duration
  279. icon: "mdi:clock-outline"
  280. dps:
  281. - id: 119
  282. name: sensor
  283. optional: true
  284. type: integer
  285. unit: s
  286. - entity: sensor
  287. name: Main brush time
  288. category: diagnostic
  289. class: duration
  290. icon: "mdi:clock-outline"
  291. dps:
  292. - id: 120
  293. name: sensor
  294. optional: true
  295. type: integer
  296. unit: s
  297. - entity: sensor
  298. name: Filter time
  299. category: diagnostic
  300. class: duration
  301. icon: "mdi:clock-outline"
  302. dps:
  303. - id: 121
  304. name: sensor
  305. optional: true
  306. type: integer
  307. unit: s
  308. - entity: button
  309. name: Reset map
  310. category: config
  311. icon: "mdi:map-marker-remove"
  312. dps:
  313. - id: 129
  314. name: button
  315. optional: true
  316. type: boolean
  317. - entity: binary_sensor
  318. class: problem
  319. category: diagnostic
  320. dps:
  321. - id: 122
  322. type: bitfield
  323. name: sensor
  324. mapping:
  325. - dps_val: 0
  326. value: false
  327. - value: true
  328. - id: 122
  329. type: bitfield
  330. name: fault_code
  331. - id: 122
  332. name: description
  333. type: bitfield
  334. mapping:
  335. - dps_val: 0
  336. value: ok
  337. - dps_val: 2
  338. value: Battery low
  339. - dps_val: 32
  340. value: Drop sensor abnormal
  341. - dps_val: 4096
  342. value: Abnormal main brush
  343. - dps_val: 524288
  344. value: Machine trapped
  345. - dps_val: 1048576
  346. value: Was picked up at work
  347. - dps_val: 33554432
  348. value: Recharge failed