ilife_a30_pro_vacuum.yaml 12 KB

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