medion_x10sw_vacuum.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. name: Robot vacuum
  2. products:
  3. - id: hyzraigatjc4zr5n
  4. manufacturer: Medion
  5. model: X10 SW
  6. entities:
  7. - entity: vacuum
  8. dps:
  9. - id: 1
  10. name: activate
  11. type: boolean
  12. optional: true
  13. mapping:
  14. - dps_val: null
  15. value: false
  16. hidden: true
  17. - id: 2
  18. name: command
  19. type: boolean
  20. optional: true
  21. mapping:
  22. - dps_val: true
  23. value: pause
  24. - dps_val: false
  25. constraint: clean_mode
  26. conditions:
  27. - dps_val: smart
  28. value: smart
  29. - dps_val: zone
  30. value: zone
  31. - dps_val: pose
  32. value: clean_spot
  33. - dps_val: part
  34. value: partial_clean
  35. - dps_val: chargego
  36. value: return_to_base
  37. - dps_val: wallfollow
  38. value: wall_follow
  39. - dps_val: selectroom
  40. value: select_room
  41. - id: 4
  42. type: string
  43. name: clean_mode
  44. hidden: true
  45. - id: 5
  46. type: string
  47. name: status
  48. mapping:
  49. - dps_val: standby
  50. value: standby
  51. - dps_val: smart
  52. value: smart
  53. - dps_val: zone_clean
  54. value: zone_clean
  55. - dps_val: part_clean
  56. value: part_clean
  57. - dps_val: cleaning
  58. value: cleaning
  59. - dps_val: paused
  60. value: paused
  61. - dps_val: goto_pos
  62. value: going_to_position
  63. - dps_val: pos_arrived
  64. value: in_position
  65. - dps_val: pos_unarrive
  66. value: leaving_position
  67. - dps_val: goto_charge
  68. value: returning
  69. - dps_val: charging
  70. value: charging
  71. - dps_val: charge_done
  72. value: charged
  73. - dps_val: sleep
  74. value: sleep
  75. - dps_val: fault
  76. value: error
  77. - dps_val: wall_follow
  78. value: edge_cleaning
  79. - dps_val: direction_control
  80. value: manual_positioning
  81. - dps_val: select_room
  82. value: selecting_room
  83. - dps_val: repositing
  84. value: repositioning
  85. - dps_val: amicro_collect_dust
  86. value: emptying
  87. - id: 9
  88. type: string
  89. name: fan_mode
  90. mapping:
  91. - dps_val: closed
  92. value: "off"
  93. - dps_val: gentle
  94. value: low
  95. - dps_val: normal
  96. value: medium
  97. - dps_val: strong
  98. value: high
  99. - dps_val: max
  100. value: max
  101. - id: 11
  102. type: boolean
  103. optional: true
  104. name: locate
  105. - id: 12
  106. type: string
  107. optional: true
  108. name: direction_control
  109. mapping:
  110. - dps_val: forward
  111. value: forward
  112. - dps_val: backward
  113. value: backward
  114. - dps_val: turn_left
  115. value: left
  116. - dps_val: turn_right
  117. value: right
  118. - dps_val: stop
  119. value: stop
  120. - id: 14
  121. type: string
  122. optional: true
  123. name: path_data
  124. - id: 15
  125. type: string
  126. optional: true
  127. name: command_trans
  128. - id: 32
  129. type: string
  130. optional: true
  131. name: schedule
  132. - id: 34
  133. type: string
  134. optional: true
  135. name: device_info
  136. - id: 184
  137. type: string
  138. name: dormant_keep_unseen
  139. - entity: button
  140. name: Dock
  141. dps:
  142. - id: 3
  143. type: boolean
  144. optional: true
  145. name: button
  146. - entity: sensor
  147. name: Cleaning time
  148. class: duration
  149. category: diagnostic
  150. dps:
  151. - id: 6
  152. type: integer
  153. name: sensor
  154. unit: min
  155. class: measurement
  156. - entity: sensor
  157. name: Cleaned area
  158. class: area
  159. category: diagnostic
  160. dps:
  161. - id: 7
  162. type: integer
  163. name: sensor
  164. unit: m2
  165. class: measurement
  166. - entity: sensor
  167. class: battery
  168. dps:
  169. - id: 8
  170. type: integer
  171. name: sensor
  172. unit: "%"
  173. class: measurement
  174. - entity: select
  175. name: Mopping
  176. icon: "mdi:water"
  177. dps:
  178. - id: 10
  179. type: string
  180. name: option
  181. mapping:
  182. - dps_val: closed
  183. value: "off"
  184. - dps_val: low
  185. value: low
  186. - dps_val: middle
  187. value: medium
  188. - dps_val: high
  189. value: high
  190. - entity: button
  191. name: Map reset
  192. class: restart
  193. category: config
  194. dps:
  195. - id: 13
  196. type: boolean
  197. optional: true
  198. name: button
  199. - entity: select
  200. name: Request
  201. icon: "mdi:message-cog"
  202. category: config
  203. dps:
  204. - id: 16
  205. type: string
  206. optional: true
  207. name: option
  208. mapping:
  209. - dps_val: get_map
  210. value: Get map
  211. - dps_val: get_path
  212. value: Get path
  213. - dps_val: get_both
  214. value: Get both
  215. - entity: sensor
  216. name: Edge brush life
  217. class: duration
  218. category: diagnostic
  219. dps:
  220. - id: 17
  221. type: integer
  222. name: sensor
  223. unit: min
  224. - entity: button
  225. name: Edge brush reset
  226. class: restart
  227. category: config
  228. dps:
  229. - id: 18
  230. type: boolean
  231. optional: true
  232. name: button
  233. - entity: sensor
  234. name: Roll brush life
  235. class: duration
  236. category: diagnostic
  237. dps:
  238. - id: 19
  239. type: integer
  240. name: sensor
  241. unit: min
  242. - entity: button
  243. name: Roll brush reset
  244. class: restart
  245. category: config
  246. dps:
  247. - id: 20
  248. type: boolean
  249. optional: true
  250. name: button
  251. - entity: sensor
  252. name: Filter life
  253. class: duration
  254. category: diagnostic
  255. dps:
  256. - id: 21
  257. type: integer
  258. name: sensor
  259. unit: min
  260. - entity: button
  261. name: Filter reset
  262. class: restart
  263. category: config
  264. dps:
  265. - id: 22
  266. type: boolean
  267. optional: true
  268. name: button
  269. - entity: sensor
  270. name: Mop life
  271. class: duration
  272. category: diagnostic
  273. dps:
  274. - id: 23
  275. type: integer
  276. name: sensor
  277. unit: min
  278. - entity: button
  279. name: Mop reset
  280. class: restart
  281. category: config
  282. dps:
  283. - id: 24
  284. type: boolean
  285. optional: true
  286. name: button
  287. - entity: switch
  288. name: Do not disturb
  289. category: config
  290. dps:
  291. - id: 25
  292. type: boolean
  293. name: switch
  294. - id: 33
  295. type: string
  296. optional: true
  297. name: schedule
  298. - entity: number
  299. name: Volume
  300. category: config
  301. icon: "mdi:volume-high"
  302. dps:
  303. - id: 26
  304. type: integer
  305. name: value
  306. unit: "%"
  307. range:
  308. min: 0
  309. max: 100
  310. - id: 35
  311. type: string
  312. optional: true
  313. name: voice_data
  314. - id: 36
  315. type: string
  316. optional: true
  317. name: language
  318. - entity: button
  319. name: Break clean
  320. category: config
  321. dps:
  322. - id: 27
  323. type: boolean
  324. name: button
  325. - entity: binary_sensor
  326. class: problem
  327. category: diagnostic
  328. dps:
  329. - id: 28
  330. type: bitfield
  331. name: sensor
  332. mapping:
  333. - dps_val: 0
  334. value: false
  335. - value: true
  336. - id: 28
  337. type: bitfield
  338. name: fault_code
  339. - entity: sensor
  340. name: Total cleaned area
  341. class: area
  342. category: diagnostic
  343. dps:
  344. - id: 29
  345. type: integer
  346. name: sensor
  347. unit: m2
  348. class: total_increasing
  349. - entity: sensor
  350. name: Total cleans
  351. category: diagnostic
  352. dps:
  353. - id: 30
  354. type: integer
  355. name: sensor
  356. - entity: sensor
  357. name: Total cleaning time
  358. class: duration
  359. category: diagnostic
  360. dps:
  361. - id: 31
  362. type: integer
  363. name: sensor
  364. unit: min
  365. class: total_increasing
  366. - entity: switch
  367. name: Auto carpet boost
  368. category: config
  369. dps:
  370. - id: 103
  371. type: boolean
  372. name: switch
  373. - entity: switch
  374. name: Customize
  375. category: config
  376. dps:
  377. - id: 105
  378. type: boolean
  379. name: switch
  380. - entity: button
  381. name: Exit remote control mode
  382. category: config
  383. dps:
  384. - id: 134
  385. type: boolean
  386. optional: true
  387. name: button
  388. - entity: light
  389. category: config
  390. dps:
  391. - id: 135
  392. type: boolean
  393. name: switch
  394. - entity: switch
  395. name: Multi-floor map
  396. category: config
  397. dps:
  398. - id: 185
  399. type: boolean
  400. name: switch
  401. - entity: select
  402. name: Edge brush speed
  403. category: config
  404. dps:
  405. - id: 196
  406. type: string
  407. name: option
  408. mapping:
  409. - dps_val: "0"
  410. value: standard
  411. - dps_val: "1"
  412. value: fast
  413. - entity: select
  414. name: Room learning
  415. icon: "mdi:floor-plan"
  416. category: config
  417. dps:
  418. - id: 101
  419. type: string
  420. optional: true
  421. name: option
  422. mapping:
  423. - dps_val: cur_rooms
  424. value: Current rooms
  425. - dps_val: edit_rooms
  426. value: Edit rooms
  427. - dps_val: segment
  428. value: Segment
  429. - dps_val: clear_rooms
  430. value: Clear rooms
  431. - dps_val: save_rooms
  432. value: Save rooms
  433. - entity: sensor
  434. name: Room learning
  435. class: enum
  436. category: diagnostic
  437. dps:
  438. - id: 102
  439. type: bitfield
  440. optional: true
  441. name: status_code
  442. - id: 102
  443. type: bitfield
  444. optional: true
  445. name: sensor
  446. mapping:
  447. - dps_val: 0
  448. value: ""
  449. - dps_val: null
  450. value: ""
  451. - dps_val: 1
  452. value: splitting
  453. - dps_val: 2
  454. value: merging
  455. - dps_val: 4
  456. value: mapping
  457. - dps_val: 8
  458. value: robot_cleaning
  459. - dps_val: 16
  460. value: active_split
  461. - dps_val: 32
  462. value: not_found
  463. - dps_val: 64
  464. value: failed_to_save
  465. - dps_val: 128
  466. value: split_success
  467. - dps_val: 256
  468. value: merge_success
  469. - dps_val: 512
  470. value: choice_not_found
  471. - dps_val: 1024
  472. value: count_error
  473. - dps_val: 2048
  474. value: choice_set_ok
  475. - id: 197
  476. type: string
  477. optional: true
  478. name: mcs_command
  479. - id: 198
  480. type: string
  481. optional: true
  482. name: mcs_room_info
  483. - entity: event
  484. name: Push message
  485. dps:
  486. - id: 199
  487. type: string
  488. name: event
  489. optional: true
  490. mapping:
  491. - dps_val: null
  492. value: null
  493. - value: message
  494. - id: 199
  495. type: string
  496. name: message_id
  497. optional: true