ilife_v20_vacuum.yaml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  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. category: config
  226. name: Mode
  227. dps:
  228. - id: 4
  229. type: string
  230. name: option
  231. mapping:
  232. - dps_val: smart
  233. value: smart
  234. - dps_val: goto_charge
  235. value: goto_charge
  236. - dps_val: zone
  237. value: zone
  238. - dps_val: pose
  239. value: pose
  240. - dps_val: part
  241. value: part
  242. - dps_val: select_room
  243. value: select_room
  244. - entity: select
  245. name: Fetch request
  246. icon: "mdi:message-question"
  247. category: config
  248. dps:
  249. - id: 16
  250. type: string
  251. optional: true
  252. name: option
  253. mapping:
  254. - dps_val: get_map
  255. value: Map
  256. - dps_val: get_path
  257. value: Path
  258. - dps_val: get_both
  259. value: Both
  260. - entity: sensor
  261. name: Edge brush lifetime
  262. category: diagnostic
  263. class: duration
  264. dps:
  265. - id: 17
  266. type: integer
  267. name: sensor
  268. unit: h
  269. - entity: sensor
  270. name: Rolling brush lifetime
  271. category: diagnostic
  272. class: duration
  273. dps:
  274. - id: 19
  275. type: integer
  276. name: sensor
  277. unit: h
  278. - entity: sensor
  279. name: Filter lifetime
  280. category: diagnostic
  281. class: duration
  282. dps:
  283. - id: 21
  284. type: integer
  285. name: sensor
  286. unit: h
  287. - entity: sensor
  288. name: Rag lifetime
  289. category: diagnostic
  290. class: duration
  291. dps:
  292. - id: 23
  293. type: integer
  294. name: sensor
  295. unit: min
  296. optional: true
  297. - entity: number
  298. name: Volume
  299. category: config
  300. icon: "mdi:volume-high"
  301. dps:
  302. - id: 26
  303. type: integer
  304. name: value
  305. optional: true
  306. unit: "%"
  307. range:
  308. min: 0
  309. max: 100
  310. - entity: sensor
  311. name: Total cleaning area
  312. class: area
  313. category: diagnostic
  314. dps:
  315. - id: 29
  316. type: integer
  317. name: sensor
  318. unit: m2
  319. - entity: sensor
  320. name: Total cleaning times
  321. icon: "mdi:counter"
  322. category: diagnostic
  323. dps:
  324. - id: 30
  325. type: integer
  326. name: sensor
  327. - entity: sensor
  328. name: Total cleaning time
  329. class: duration
  330. icon: "mdi:history"
  331. category: diagnostic
  332. dps:
  333. - id: 31
  334. type: integer
  335. name: sensor
  336. unit: min
  337. - entity: button
  338. name: Reset map
  339. icon: "mdi:map-marker-remove"
  340. category: config
  341. dps:
  342. - id: 13
  343. type: boolean
  344. name: button
  345. optional: true
  346. - entity: button
  347. name: Reset edge brush
  348. class: restart
  349. category: config
  350. dps:
  351. - id: 18
  352. type: boolean
  353. name: button
  354. optional: true
  355. - entity: button
  356. name: Reset roll brush
  357. class: restart
  358. category: config
  359. dps:
  360. - id: 20
  361. type: boolean
  362. name: button
  363. optional: true
  364. - entity: button
  365. name: Reset filter
  366. icon: "mdi:air-filter"
  367. category: config
  368. dps:
  369. - id: 22
  370. type: boolean
  371. name: button
  372. optional: true
  373. - entity: button
  374. name: Reset rag life
  375. category: config
  376. dps:
  377. - id: 24
  378. type: boolean
  379. name: button
  380. optional: true
  381. - entity: switch
  382. name: Do not disturb
  383. icon: "mdi:minus-circle"
  384. category: config
  385. dps:
  386. - id: 25
  387. type: boolean
  388. name: switch
  389. - entity: switch
  390. name: Intermittent cleaning
  391. icon: "mdi:clock-star-four-points"
  392. category: config
  393. dps:
  394. - id: 27
  395. type: boolean
  396. name: switch
  397. - entity: select
  398. translation_key: language
  399. category: config
  400. dps:
  401. - id: 36
  402. type: string
  403. optional: true
  404. name: option
  405. mapping:
  406. - dps_val: chinese_simplified
  407. value: chinese
  408. - dps_val: chinese_traditional
  409. value: chinese_traditional
  410. - dps_val: english
  411. value: english
  412. - dps_val: german
  413. value: german
  414. - dps_val: french
  415. value: french
  416. - dps_val: russian
  417. value: russian
  418. - dps_val: spanish
  419. value: spanish
  420. - dps_val: korean
  421. value: korean
  422. - dps_val: latin
  423. value: latin
  424. - dps_val: portuguese
  425. value: portuguese
  426. - dps_val: japanese
  427. value: japanese
  428. - dps_val: italian
  429. value: italian
  430. - dps_val: polish
  431. value: polish
  432. - entity: switch
  433. name: Custom room
  434. icon: "mdi:floor-plan"
  435. category: config
  436. dps:
  437. - id: 39
  438. type: boolean
  439. optional: true
  440. name: switch
  441. - entity: binary_sensor
  442. name: Mop installed
  443. icon: "mdi:water-plus"
  444. category: diagnostic
  445. dps:
  446. - id: 40
  447. type: string
  448. optional: true
  449. name: sensor
  450. mapping:
  451. - dps_val: installed
  452. value: true
  453. - value: false
  454. dps_val: none
  455. - entity: select
  456. name: Operation mode
  457. icon: "mdi:robot-vacuum"
  458. category: config
  459. dps:
  460. - id: 41
  461. type: string
  462. optional: true
  463. name: option
  464. mapping:
  465. - dps_val: only_sweep
  466. value: Sweep
  467. - dps_val: only_mop
  468. value: Mop
  469. - dps_val: both_work
  470. value: Both
  471. - entity: switch
  472. name: Auto boost
  473. icon: "mdi:car-turbocharger"
  474. category: config
  475. dps:
  476. - id: 45
  477. type: boolean
  478. optional: true
  479. name: switch
  480. - entity: binary_sensor
  481. class: problem
  482. category: diagnostic
  483. dps:
  484. - id: 28
  485. type: bitfield
  486. name: sensor
  487. mapping:
  488. - dps_val: 0
  489. value: false
  490. - value: true
  491. - id: 28
  492. type: bitfield
  493. name: fault_code
  494. - id: 28
  495. type: bitfield
  496. name: description
  497. mapping:
  498. - dps_val: 0
  499. value: OK
  500. - dps_val: 1
  501. value: low_power
  502. - dps_val: 2
  503. value: poweroff
  504. - dps_val: 4
  505. value: wheel_trap
  506. - dps_val: 8
  507. value: cannot_upgrade
  508. - dps_val: 16
  509. value: collision_stuck
  510. - dps_val: 32
  511. value: dust_station_full
  512. - dps_val: 64
  513. value: tile_error
  514. - dps_val: 128
  515. value: lidar_speed_err
  516. - dps_val: 256
  517. value: lidar_cover
  518. - dps_val: 512
  519. value: lidar_point_err
  520. - dps_val: 1024
  521. value: front_wall_dirty
  522. - dps_val: 2048
  523. value: psd_dirty
  524. - dps_val: 4096
  525. value: middle_sweep
  526. - dps_val: 8192
  527. value: side_sweep
  528. - dps_val: 16384
  529. value: fan_speed
  530. - dps_val: 32768
  531. value: dustbox_out
  532. - dps_val: 65536
  533. value: dustbox_full
  534. - dps_val: 131072
  535. value: no_dust_box
  536. - dps_val: 262144
  537. value: dustbox_fullout
  538. - dps_val: 524288
  539. value: trapped
  540. - dps_val: 1048576
  541. value: pick_up
  542. - dps_val: 2097152
  543. value: no_dust_water_box
  544. - dps_val: 84194304
  545. value: water_box_empty
  546. - dps_val: 18388608
  547. value: forbid_area
  548. - dps_val: 16777216
  549. value: land_check
  550. - dps_val: 33554432
  551. value: findcharge_fail
  552. - dps_val: 67108864
  553. value: battery_err
  554. - dps_val: 134217728
  555. value: kit_wheel
  556. - dps_val: 268435456
  557. value: kit_lidar
  558. - dps_val: 53687091
  559. value: kit_water_pump