liectroux_g7 7.1 KB

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