zedar_r600_vacuum.yaml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. name: Robot vacuum
  2. products:
  3. - id: yiarxtixzkmnegxk
  4. name: Zedar R600
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 1
  9. type: boolean
  10. optional: true
  11. name: activate
  12. mapping:
  13. - dps_val: false
  14. constraint: pause
  15. conditions:
  16. - dps_val: true
  17. value: false
  18. - dps_val: false
  19. value: false
  20. hidden: true
  21. - dps_val: null
  22. value: false
  23. hidden: true
  24. - dps_val: true
  25. constraint: pause
  26. conditions:
  27. - dps_val: false
  28. value: true
  29. - dps_val: true
  30. value: true
  31. hidden: true
  32. - dps_val: null
  33. value: true
  34. hidden: true
  35. - dps_val: null
  36. value: false
  37. hidden: true
  38. - id: 2
  39. type: boolean
  40. optional: true
  41. name: pause
  42. - id: 3
  43. name: return_to_base
  44. type: boolean
  45. optional: true
  46. - id: 4
  47. type: string
  48. name: command
  49. mapping:
  50. - dps_val: smart
  51. value: smart
  52. - dps_val: chargego
  53. value: return_to_base
  54. - dps_val: zone
  55. value: zone
  56. - dps_val: pose
  57. value: go_to_position
  58. - dps_val: selectroom
  59. value: room
  60. - id: 5
  61. type: string
  62. name: status
  63. mapping:
  64. - dps_val: standby
  65. value: standby
  66. - dps_val: smart
  67. value: cleaning
  68. - dps_val: smart_clean
  69. value: cleaning
  70. - dps_val: zone_clean
  71. value: cleaning
  72. - dps_val: part_clean
  73. value: cleaning
  74. - dps_val: cleaning
  75. value: cleaning
  76. - dps_val: paused
  77. value: paused
  78. - dps_val: goto_pos
  79. value: going_to_location
  80. - dps_val: pos_arrived
  81. value: on_location
  82. - dps_val: pos_unarrive
  83. value: cannot_find_location
  84. - dps_val: goto_charge
  85. value: returning
  86. - dps_val: charging
  87. value: charging
  88. - dps_val: charge_done
  89. value: charged
  90. - dps_val: sleep
  91. value: sleep
  92. - dps_val: select_room
  93. value: select_room
  94. - dps_val: wall_follow
  95. value: wall_follow
  96. - dps_val: direction_control
  97. value: direction_control
  98. - id: 9
  99. type: string
  100. name: fan_speed
  101. mapping:
  102. - dps_val: turnoff
  103. value: "Off"
  104. - dps_val: gentle
  105. value: Low
  106. - dps_val: normal
  107. value: Medium
  108. - dps_val: strong
  109. value: High
  110. - id: 11
  111. type: boolean
  112. optional: true
  113. name: locate
  114. - id: 12
  115. type: string
  116. optional: true
  117. name: direction_control
  118. mapping:
  119. - dps_val: forward
  120. value: forward
  121. - dps_val: backward
  122. value: reverse
  123. - dps_val: turn_left
  124. value: left
  125. - dps_val: turn_right
  126. value: right
  127. - dps_val: stop
  128. value: stop
  129. - id: 14
  130. type: string
  131. optional: true
  132. name: path_data
  133. - id: 15
  134. type: base64
  135. optional: true
  136. name: complex_command
  137. - id: 16
  138. type: string
  139. optional: true
  140. name: request
  141. mapping:
  142. - dps_val: get_map
  143. value: Get map
  144. - dps_val: get_path
  145. value: Get path
  146. - dps_val: get_both
  147. value: Get both
  148. - id: 28
  149. type: bitfield
  150. name: error
  151. mapping:
  152. - dps_val: 2
  153. value: left_wheel_hang
  154. - dps_val: 4
  155. value: main_brush_stuck
  156. - dps_val: 8
  157. value: right_wheel_hang
  158. - dps_val: 16
  159. value: left_wheel_stuck
  160. - dps_val: 32
  161. value: right_wheel_stuck
  162. - dps_val: 64
  163. value: cliff
  164. - dps_val: 128
  165. value: side_brush_stuck
  166. - dps_val: 512
  167. value: collision
  168. - dps_val: 1024
  169. value: dust_box_stuck
  170. - dps_val: 4096
  171. value: ground_check_failure
  172. - dps_val: 32768
  173. value: vacuum_motor_stuck
  174. - dps_val: 65536
  175. value: high_current
  176. - dps_val: 131072
  177. value: charge_port_closed
  178. - id: 32
  179. type: string
  180. optional: true
  181. name: device_timer
  182. - id: 33
  183. type: string
  184. optional: true
  185. name: disturb_time_set
  186. - id: 34
  187. type: string
  188. optional: true
  189. name: device_info
  190. - id: 35
  191. type: string
  192. optional: true
  193. name: voice_data
  194. - id: 36
  195. name: language
  196. type: string
  197. optional: true
  198. secondary_entities:
  199. - entity: sensor
  200. name: Cleaning time
  201. class: duration
  202. category: diagnostic
  203. dps:
  204. - id: 6
  205. type: integer
  206. name: sensor
  207. unit: min
  208. class: measurement
  209. - entity: sensor
  210. name: Cleaned area
  211. category: diagnostic
  212. icon: "mdi:floor-plan"
  213. dps:
  214. - id: 7
  215. type: integer
  216. name: sensor
  217. unit: m2
  218. - entity: sensor
  219. class: battery
  220. dps:
  221. - id: 8
  222. type: integer
  223. name: sensor
  224. unit: "%"
  225. class: measurement
  226. - entity: select
  227. translation_key: mopping
  228. category: config
  229. dps:
  230. - id: 10
  231. type: string
  232. name: option
  233. optional: true
  234. mapping:
  235. - dps_val: closed
  236. value: "off"
  237. - dps_val: low
  238. value: low
  239. - dps_val: middle
  240. value: medium
  241. - dps_val: high
  242. value: high
  243. - dps_val: null
  244. value: "off"
  245. hidden: true
  246. - entity: button
  247. name: Reset map
  248. category: config
  249. dps:
  250. - id: 13
  251. type: boolean
  252. name: button
  253. optional: true
  254. - entity: sensor
  255. name: Edge brush life
  256. class: duration
  257. category: diagnostic
  258. dps:
  259. - id: 17
  260. type: integer
  261. name: sensor
  262. unit: min
  263. - entity: button
  264. name: Edge brush reset
  265. class: restart
  266. category: config
  267. dps:
  268. - id: 18
  269. type: boolean
  270. name: button
  271. optional: true
  272. - entity: sensor
  273. name: Roll brush life
  274. class: duration
  275. category: diagnostic
  276. dps:
  277. - id: 19
  278. type: integer
  279. name: sensor
  280. unit: min
  281. - entity: button
  282. name: Roll brush reset
  283. class: restart
  284. category: config
  285. dps:
  286. - id: 20
  287. type: boolean
  288. name: button
  289. optional: true
  290. - entity: sensor
  291. name: Filter life
  292. class: duration
  293. category: diagnostic
  294. dps:
  295. - id: 21
  296. type: integer
  297. name: sensor
  298. unit: min
  299. - entity: button
  300. name: Filter reset
  301. class: restart
  302. category: config
  303. dps:
  304. - id: 22
  305. type: boolean
  306. name: button
  307. optional: true
  308. - entity: sensor
  309. name: Mop life
  310. class: duration
  311. category: diagnostic
  312. dps:
  313. - id: 23
  314. type: integer
  315. name: sensor
  316. unit: min
  317. - entity: button
  318. name: Mop reset
  319. class: restart
  320. category: config
  321. dps:
  322. - id: 24
  323. type: boolean
  324. name: button
  325. optional: true
  326. - entity: switch
  327. name: Do not disturb
  328. category: config
  329. dps:
  330. - id: 25
  331. type: boolean
  332. name: switch
  333. optional: true
  334. mapping:
  335. - dps_val: null
  336. value: false
  337. hidden: true
  338. - entity: number
  339. name: Volume
  340. category: config
  341. icon: "mdi:volume-high"
  342. dps:
  343. - id: 26
  344. type: integer
  345. name: value
  346. range:
  347. min: 0
  348. max: 10
  349. unit: "%"
  350. mapping:
  351. - scale: 0.1