ilife_v20_vacuum.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  1. name: Robot vacuum
  2. products:
  3. - id: mphbe14dfodk8cz2
  4. manufacturer: ILIFE
  5. model: V20
  6. entities:
  7. - entity: vacuum
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: activate
  12. optional: true
  13. mapping:
  14. - dps_val: false
  15. constraint: pause
  16. conditions:
  17. - dps_val: true
  18. value: false
  19. - dps_val: false
  20. value: false
  21. hidden: true
  22. - dps_val: null
  23. value: false
  24. hidden: true
  25. - dps_val: true
  26. constraint: pause
  27. conditions:
  28. - dps_val: false
  29. value: true
  30. - dps_val: true
  31. value: true
  32. hidden: true
  33. - dps_val: null
  34. value: true
  35. hidden: true
  36. - dps_val: null
  37. value: false
  38. hidden: true
  39. - id: 2
  40. type: boolean
  41. optional: true
  42. name: pause
  43. hidden: true
  44. - id: 4
  45. type: string
  46. name: command
  47. optional: true
  48. mapping:
  49. - dps_val: smart
  50. value: smart
  51. - dps_val: goto_charge
  52. value: return_to_base
  53. - dps_val: zone
  54. value: zone
  55. - dps_val: pose
  56. value: clean_spot
  57. - dps_val: part
  58. value: partial
  59. - dps_val: select_room
  60. value: select_room
  61. - id: 5
  62. type: string
  63. name: status
  64. mapping:
  65. - dps_val: standby
  66. value: standby
  67. - dps_val: smart
  68. value: smart
  69. - dps_val: zone_clean
  70. value: zone
  71. - dps_val: part_clean
  72. value: partial
  73. - dps_val: cleaning
  74. value: cleaning
  75. - dps_val: paused
  76. value: paused
  77. - dps_val: goto_pos
  78. value: seeking_spot
  79. - dps_val: pos_arrived
  80. value: located spot
  81. - dps_val: pos_unarrive
  82. value: left_spot
  83. - dps_val: goto_charge
  84. value: returning
  85. - dps_val: charging
  86. value: charging
  87. - dps_val: charge_done
  88. value: charged
  89. - dps_val: sleep
  90. value: sleep
  91. - dps_val: select_room
  92. value: selecting_room
  93. - dps_val: seek_dust_bucket
  94. value: seek_dust_bucket
  95. - dps_val: collecting_dust
  96. value: collecting_dust
  97. - dps_val: in_trouble
  98. value: in_trouble
  99. - dps_val: shutdown
  100. value: shutdown
  101. - dps_val: self_clean
  102. value: self_clean
  103. - dps_val: mapping
  104. value: mapping
  105. - dps_val: mapping_done
  106. value: mapping_done
  107. - dps_val: in_positioning
  108. value: in_positioning
  109. - id: 9
  110. type: string
  111. name: fan_speed
  112. mapping:
  113. - dps_val: closed
  114. value: "Off"
  115. - dps_val: gentle
  116. value: Low
  117. - dps_val: normal
  118. value: Medium
  119. - dps_val: strong
  120. value: High
  121. - dps_val: max
  122. value: Max
  123. - id: 11
  124. type: boolean
  125. name: locate
  126. optional: true
  127. - id: 12
  128. type: string
  129. name: direction_control
  130. optional: true
  131. mapping:
  132. - dps_val: forward
  133. value: forward
  134. - dps_val: not_use
  135. value: not use
  136. - dps_val: turn_left
  137. value: left
  138. - dps_val: turn_right
  139. value: right
  140. - dps_val: stop
  141. value: stop
  142. - dps_val: exit
  143. value: exit
  144. - id: 14
  145. type: string
  146. optional: true
  147. name: path_data
  148. - id: 15
  149. type: string
  150. optional: true
  151. name: command_trans
  152. - id: 28
  153. type: bitfield
  154. name: error
  155. hidden: true
  156. - id: 32
  157. type: string
  158. optional: true
  159. name: device_timer
  160. - id: 33
  161. type: string
  162. optional: true
  163. name: disturb_time_set
  164. - id: 34
  165. type: string
  166. optional: true
  167. name: device_info
  168. - id: 35
  169. type: string
  170. optional: true
  171. name: voice_data
  172. - entity: switch
  173. name: Charge
  174. icon: "mdi:battery-charging"
  175. category: config
  176. dps:
  177. - id: 3
  178. type: boolean
  179. optional: true
  180. name: switch
  181. - entity: sensor
  182. name: Cleaning time
  183. icon: "mdi:progress-clock"
  184. class: duration
  185. category: diagnostic
  186. dps:
  187. - id: 6
  188. type: integer
  189. name: sensor
  190. unit: min
  191. - entity: sensor
  192. name: Cleaning area
  193. class: area
  194. category: diagnostic
  195. dps:
  196. - id: 7
  197. type: integer
  198. name: sensor
  199. unit: m2
  200. - entity: sensor
  201. class: battery
  202. dps:
  203. - id: 8
  204. type: integer
  205. name: sensor
  206. unit: "%"
  207. class: measurement
  208. - entity: select
  209. translation_key: mopping
  210. category: config
  211. dps:
  212. - id: 10
  213. type: string
  214. name: option
  215. mapping:
  216. - dps_val: closed
  217. value: "off"
  218. - dps_val: low
  219. value: low
  220. - dps_val: middle
  221. value: medium
  222. - dps_val: high
  223. value: high
  224. - entity: select
  225. name: Fetch request
  226. icon: "mdi:message-question"
  227. category: config
  228. dps:
  229. - id: 16
  230. type: string
  231. optional: true
  232. name: option
  233. mapping:
  234. - dps_val: get_map
  235. value: Map
  236. - dps_val: get_path
  237. value: Path
  238. - dps_val: get_both
  239. value: Both
  240. - entity: sensor
  241. name: Edge brush lifetime
  242. category: diagnostic
  243. class: duration
  244. dps:
  245. - id: 17
  246. type: integer
  247. name: sensor
  248. unit: h
  249. - entity: sensor
  250. name: Rolling brush lifetime
  251. category: diagnostic
  252. class: duration
  253. dps:
  254. - id: 19
  255. type: integer
  256. name: sensor
  257. unit: h
  258. - entity: sensor
  259. translation_key: filter_life
  260. category: diagnostic
  261. class: duration
  262. dps:
  263. - id: 21
  264. type: integer
  265. name: sensor
  266. unit: h
  267. - entity: sensor
  268. name: Rag lifetime
  269. category: diagnostic
  270. class: duration
  271. dps:
  272. - id: 23
  273. type: integer
  274. name: sensor
  275. unit: min
  276. optional: true
  277. - entity: number
  278. translation_key: volume
  279. category: config
  280. dps:
  281. - id: 26
  282. type: integer
  283. name: value
  284. optional: true
  285. unit: "%"
  286. range:
  287. min: 0
  288. max: 100
  289. - entity: sensor
  290. name: Total cleaning area
  291. class: area
  292. category: diagnostic
  293. dps:
  294. - id: 29
  295. type: integer
  296. name: sensor
  297. unit: m2
  298. - entity: sensor
  299. name: Total cleaning times
  300. icon: "mdi:counter"
  301. category: diagnostic
  302. dps:
  303. - id: 30
  304. type: integer
  305. name: sensor
  306. - entity: sensor
  307. name: Total cleaning time
  308. class: duration
  309. icon: "mdi:history"
  310. category: diagnostic
  311. dps:
  312. - id: 31
  313. type: integer
  314. name: sensor
  315. unit: min
  316. - entity: button
  317. name: Reset map
  318. icon: "mdi:map-marker-remove"
  319. category: config
  320. dps:
  321. - id: 13
  322. type: boolean
  323. name: button
  324. optional: true
  325. - entity: button
  326. name: Reset edge brush
  327. class: restart
  328. category: config
  329. dps:
  330. - id: 18
  331. type: boolean
  332. name: button
  333. optional: true
  334. - entity: button
  335. name: Reset roll brush
  336. class: restart
  337. category: config
  338. dps:
  339. - id: 20
  340. type: boolean
  341. name: button
  342. optional: true
  343. - entity: button
  344. name: Reset filter
  345. icon: "mdi:air-filter"
  346. category: config
  347. dps:
  348. - id: 22
  349. type: boolean
  350. name: button
  351. optional: true
  352. - entity: button
  353. name: Reset rag life
  354. category: config
  355. dps:
  356. - id: 24
  357. type: boolean
  358. name: button
  359. optional: true
  360. - entity: switch
  361. translation_key: do_not_disturb
  362. category: config
  363. dps:
  364. - id: 25
  365. type: boolean
  366. name: switch
  367. - entity: switch
  368. name: Intermittent cleaning
  369. icon: "mdi:clock-star-four-points"
  370. category: config
  371. dps:
  372. - id: 27
  373. type: boolean
  374. name: switch
  375. - entity: select
  376. translation_key: language
  377. category: config
  378. dps:
  379. - id: 36
  380. type: string
  381. optional: true
  382. name: option
  383. mapping:
  384. - dps_val: chinese_simplified
  385. value: chinese
  386. - dps_val: chinese_traditional
  387. value: chinese_traditional
  388. - dps_val: english
  389. value: english
  390. - dps_val: german
  391. value: german
  392. - dps_val: french
  393. value: french
  394. - dps_val: russian
  395. value: russian
  396. - dps_val: spanish
  397. value: spanish
  398. - dps_val: korean
  399. value: korean
  400. - dps_val: latin
  401. value: latin
  402. - dps_val: portuguese
  403. value: portuguese
  404. - dps_val: japanese
  405. value: japanese
  406. - dps_val: italian
  407. value: italian
  408. - dps_val: polish
  409. value: polish
  410. - entity: switch
  411. name: Custom room
  412. icon: "mdi:floor-plan"
  413. category: config
  414. dps:
  415. - id: 39
  416. type: boolean
  417. optional: true
  418. name: switch
  419. - entity: binary_sensor
  420. name: Mop installed
  421. icon: "mdi:water-plus"
  422. category: diagnostic
  423. dps:
  424. - id: 40
  425. type: string
  426. optional: true
  427. name: sensor
  428. mapping:
  429. - dps_val: installed
  430. value: true
  431. - value: false
  432. - entity: select
  433. translation_key: cleaning_mode
  434. category: config
  435. dps:
  436. - id: 41
  437. type: string
  438. optional: true
  439. name: option
  440. mapping:
  441. - dps_val: only_sweep
  442. value: sweep
  443. - dps_val: only_mop
  444. value: mop
  445. - dps_val: both_work
  446. value: sweep_and_mop
  447. - entity: switch
  448. name: Auto boost
  449. icon: "mdi:car-turbocharger"
  450. category: config
  451. dps:
  452. - id: 45
  453. type: boolean
  454. optional: true
  455. name: switch
  456. - entity: binary_sensor
  457. class: problem
  458. category: diagnostic
  459. dps:
  460. - id: 28
  461. type: bitfield
  462. name: sensor
  463. mapping:
  464. - dps_val: 0
  465. value: false
  466. - value: true
  467. - id: 28
  468. type: bitfield
  469. name: fault_code
  470. - id: 28
  471. type: bitfield
  472. name: description
  473. mapping:
  474. - dps_val: 0
  475. value: OK
  476. - dps_val: 1
  477. value: low_power
  478. - dps_val: 2
  479. value: poweroff
  480. - dps_val: 4
  481. value: wheel_trap
  482. - dps_val: 8
  483. value: cannot_upgrade
  484. - dps_val: 16
  485. value: collision_stuck
  486. - dps_val: 32
  487. value: dust_station_full
  488. - dps_val: 64
  489. value: tile_error
  490. - dps_val: 128
  491. value: lidar_speed_err
  492. - dps_val: 256
  493. value: lidar_cover
  494. - dps_val: 512
  495. value: lidar_point_err
  496. - dps_val: 1024
  497. value: front_wall_dirty
  498. - dps_val: 2048
  499. value: psd_dirty
  500. - dps_val: 4096
  501. value: middle_sweep
  502. - dps_val: 8192
  503. value: side_sweep
  504. - dps_val: 16384
  505. value: fan_speed
  506. - dps_val: 32768
  507. value: dustbox_out
  508. - dps_val: 65536
  509. value: dustbox_full
  510. - dps_val: 131072
  511. value: no_dust_box
  512. - dps_val: 262144
  513. value: dustbox_fullout
  514. - dps_val: 524288
  515. value: trapped
  516. - dps_val: 1048576
  517. value: pick_up
  518. - dps_val: 2097152
  519. value: no_dust_water_box
  520. - dps_val: 84194304
  521. value: water_box_empty
  522. - dps_val: 18388608
  523. value: forbid_area
  524. - dps_val: 16777216
  525. value: land_check
  526. - dps_val: 33554432
  527. value: findcharge_fail
  528. - dps_val: 67108864
  529. value: battery_err
  530. - dps_val: 134217728
  531. value: kit_wheel
  532. - dps_val: 268435456
  533. value: kit_lidar
  534. - dps_val: 53687091
  535. value: kit_water_pump