tesvor_s6_vacuum.yaml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. name: Robot vacuum
  2. products:
  3. - id: seyplx9aqmrqjk9g
  4. name: Tesvor S6
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 1
  9. type: boolean
  10. optional: true
  11. name: power
  12. mapping:
  13. - dps_val: null
  14. value: false
  15. hidden: true
  16. - id: 2
  17. type: boolean
  18. optional: true
  19. name: command
  20. mapping:
  21. - dps_val: true
  22. value: pause
  23. - dps_val: false
  24. constraint: mode
  25. conditions:
  26. - dps_val: smart
  27. value: smart
  28. - dps_val: chargego
  29. value: return_to_base
  30. - dps_val: zone
  31. value: zone
  32. - dps_val: pose
  33. value: pose
  34. - dps_val: part
  35. value: part
  36. - dps_val: selectroom
  37. value: select_room
  38. - dps_val: null
  39. constraint: mode
  40. conditions:
  41. - dps_val: smart
  42. value: smart
  43. hidden: true
  44. - dps_val: chargego
  45. value: return_to_base
  46. hidden: true
  47. - dps_val: zone
  48. value: zone
  49. hidden: true
  50. - dps_val: pose
  51. value: pose
  52. hidden: true
  53. - dps_val: part
  54. value: part
  55. hidden: true
  56. - dps_val: selectroom
  57. value: select_room
  58. hidden: true
  59. - id: 4
  60. type: string
  61. name: mode
  62. hidden: true
  63. - id: 5
  64. type: string
  65. name: status
  66. mapping:
  67. - dps_val: standby
  68. value: standby
  69. - dps_val: smart
  70. value: cleaning
  71. - dps_val: zone_clean
  72. value: cleaning
  73. - dps_val: part_clean
  74. value: cleaning
  75. - dps_val: cleaning
  76. value: cleaning
  77. - dps_val: paused
  78. value: pause
  79. - dps_val: goto_pos
  80. value: going_to_location
  81. - dps_val: pos_arrived
  82. value: on_location
  83. - dps_val: pos_unarrive
  84. value: cannot_find_location
  85. - dps_val: goto_charge
  86. value: returning
  87. - dps_val: charging
  88. value: charging
  89. - dps_val: charge_done
  90. value: charged
  91. - dps_val: sleep
  92. value: sleep
  93. - dps_val: select_room
  94. value: select_room
  95. - dps_val: mop_clean
  96. value: mopping
  97. - dps_val: manual_control
  98. value: direction_control
  99. - id: 9
  100. type: string
  101. name: fan_speed
  102. mapping:
  103. - dps_val: closed
  104. value: "Off"
  105. - dps_val: gentle
  106. value: Low
  107. - dps_val: normal
  108. value: Medium
  109. - dps_val: strong
  110. value: High
  111. - id: 11
  112. type: boolean
  113. name: locate
  114. optional: true
  115. - id: 12
  116. type: string
  117. name: direction_control
  118. optional: true
  119. mapping:
  120. - dps_val: forward
  121. value: forward
  122. - dps_val: backward
  123. value: reverse
  124. - dps_val: turn_left
  125. value: left
  126. - dps_val: turn_right
  127. value: right
  128. - dps_val: stop
  129. value: stop
  130. - id: 14
  131. name: path_data
  132. type: string
  133. optional: true
  134. - id: 15
  135. name: command_trans
  136. type: string
  137. optional: true
  138. - id: 16
  139. name: request
  140. type: string
  141. optional: true
  142. mapping:
  143. - dps_val: get_map
  144. value: Get map
  145. - dps_val: get_path
  146. value: Get path
  147. - dps_val: get_both
  148. value: Get both
  149. - id: 28
  150. type: bitfield
  151. name: error
  152. - id: 32
  153. type: string
  154. name: schedule
  155. optional: true
  156. - id: 33
  157. type: string
  158. name: do_not_disturb_schedule
  159. optional: true
  160. - id: 34
  161. type: string
  162. name: device_info
  163. optional: true
  164. - id: 35
  165. type: string
  166. name: voice_data
  167. optional: true
  168. secondary_entities:
  169. - entity: switch
  170. name: Charge
  171. icon: "mdi:lightning-bolt"
  172. category: config
  173. dps:
  174. - id: 3
  175. type: boolean
  176. name: switch
  177. optional: true
  178. mapping:
  179. - dps_val: null
  180. value: false
  181. hidden: true
  182. - entity: sensor
  183. name: Clean time
  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: Clean area
  193. category: diagnostic
  194. dps:
  195. - id: 7
  196. type: integer
  197. name: sensor
  198. unit: m2
  199. - entity: select
  200. name: Mopping
  201. icon: "mdi:cup-water"
  202. category: config
  203. dps:
  204. - id: 10
  205. type: string
  206. name: option
  207. mapping:
  208. - dps_val: closed
  209. value: "Off"
  210. - dps_val: low
  211. value: Low
  212. - dps_val: middle
  213. value: Medium
  214. - dps_val: high
  215. value: High
  216. - entity: button
  217. name: Reset map
  218. class: restart
  219. category: config
  220. dps:
  221. - id: 13
  222. type: boolean
  223. name: button
  224. optional: true
  225. - entity: sensor
  226. name: Edge brush life
  227. class: duration
  228. category: diagnostic
  229. dps:
  230. - id: 17
  231. type: integer
  232. name: sensor
  233. unit: min
  234. - entity: button
  235. name: Edge brush reset
  236. class: restart
  237. category: config
  238. dps:
  239. - id: 18
  240. type: boolean
  241. name: button
  242. optional: true
  243. - entity: sensor
  244. name: Roll brush life
  245. class: duration
  246. category: diagnostic
  247. dps:
  248. - id: 19
  249. type: integer
  250. name: sensor
  251. unit: min
  252. - entity: button
  253. name: Roll brush reset
  254. class: restart
  255. category: config
  256. dps:
  257. - id: 20
  258. type: boolean
  259. name: button
  260. optional: true
  261. - entity: sensor
  262. name: Filter life
  263. class: duration
  264. category: diagnostic
  265. dps:
  266. - id: 21
  267. type: integer
  268. name: sensor
  269. unit: min
  270. class: measurement
  271. - entity: button
  272. name: Filter reset
  273. class: restart
  274. category: config
  275. dps:
  276. - id: 22
  277. type: boolean
  278. name: button
  279. optional: true
  280. - entity: sensor
  281. name: Mop life
  282. class: duration
  283. category: diagnostic
  284. dps:
  285. - id: 23
  286. type: integer
  287. name: sensor
  288. unit: min
  289. - entity: button
  290. name: Mop reset
  291. class: restart
  292. category: config
  293. dps:
  294. - id: 24
  295. type: boolean
  296. name: button
  297. optional: true
  298. - entity: switch
  299. name: Do not disturb
  300. icon: "mdi:sleep"
  301. category: config
  302. dps:
  303. - id: 25
  304. type: boolean
  305. name: switch
  306. optional: true
  307. mapping:
  308. - dps_val: null
  309. value: false
  310. hidden: true
  311. - entity: number
  312. name: Volume
  313. category: config
  314. icon: "mdi:volume-high"
  315. dps:
  316. - id: 26
  317. type: integer
  318. name: value
  319. unit: "%"
  320. range:
  321. min: 0
  322. max: 10
  323. mapping:
  324. - scale: 0.1
  325. - entity: select
  326. translation_key: language
  327. category: config
  328. dps:
  329. - id: 36
  330. type: string
  331. name: option
  332. optional: true
  333. mapping:
  334. - dps_val: Chinese
  335. value: chinese
  336. - dps_val: English
  337. value: english
  338. - dps_val: German
  339. value: german
  340. - dps_val: Italy
  341. value: italian
  342. - dps_val: Russian
  343. value: russian
  344. - dps_val: Tesvor_Spanish
  345. value: spanish
  346. - dps_val: Japanese
  347. value: japanese
  348. - dps_val: Korean
  349. value: korean
  350. - entity: number
  351. name: Dust collection frequency
  352. category: config
  353. icon: "mdi:trash-can"
  354. dps:
  355. - id: 37
  356. type: integer
  357. name: value
  358. range:
  359. min: 0
  360. max: 4
  361. - entity: switch
  362. name: Dust collection
  363. category: config
  364. dps:
  365. - id: 38
  366. type: boolean
  367. name: switch
  368. optional: true
  369. mapping:
  370. - dps_val: null
  371. value: false
  372. hidden: true
  373. - entity: sensor
  374. class: battery
  375. dps:
  376. - id: 104
  377. type: integer
  378. name: sensor
  379. unit: "%"
  380. class: measurement