abir_x8_vacuum.yaml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. name: Robot vacuum
  2. products:
  3. - id: hslyk0g1sim9ojqu
  4. manufacturer: Abir
  5. model: X8
  6. entities:
  7. - entity: vacuum
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: power
  12. - id: 2
  13. type: boolean
  14. name: activate
  15. - id: 4
  16. type: string
  17. name: command
  18. mapping:
  19. - dps_val: smart
  20. value: smart
  21. - dps_val: zone
  22. value: zone
  23. - dps_val: pose
  24. value: go_to_position
  25. - dps_val: part
  26. value: clean_spot
  27. - dps_val: chargego
  28. value: return_to_base
  29. - dps_val: wallfollow
  30. value: wall_follow
  31. - dps_val: selectroom
  32. value: select_room
  33. - id: 5
  34. type: string
  35. name: status
  36. mapping:
  37. - dps_val: standby
  38. value: standby
  39. - dps_val: smart
  40. value: cleaning
  41. - dps_val: zone_clean
  42. value: cleaning
  43. - dps_val: part_clean
  44. value: cleaning
  45. - dps_val: cleaning
  46. value: cleaning
  47. - dps_val: paused
  48. value: pause
  49. - dps_val: goto_pos
  50. value: going_to_location
  51. - dps_val: pos_arrived
  52. value: on_location
  53. - dps_val: pos_unarrive
  54. value: cannot_find_location
  55. - dps_val: goto_charge
  56. value: returning
  57. - dps_val: charging
  58. value: charging
  59. - dps_val: charge_done
  60. value: charged
  61. - dps_val: sleep
  62. value: sleep
  63. - dps_val: fault
  64. value: error
  65. - dps_val: wall_follow
  66. value: cleaning
  67. - dps_val: direction_control
  68. value: direction_control
  69. - dps_val: select_room
  70. value: select_room
  71. - dps_val: repositing
  72. value: repositioning
  73. - dps_val: charge_jack
  74. value: charging
  75. - id: 9
  76. type: string
  77. name: fan_speed
  78. mapping:
  79. - dps_val: strong
  80. value: High
  81. - dps_val: normal
  82. value: Medium
  83. - dps_val: gentle
  84. value: Low
  85. - id: 11
  86. type: boolean
  87. name: locate
  88. optional: true
  89. - id: 12
  90. type: string
  91. name: direction_control
  92. optional: true
  93. mapping:
  94. - dps_val: foward
  95. value: forward
  96. - dps_val: backward
  97. value: reverse
  98. - dps_val: turn_left
  99. value: left
  100. - dps_val: turn_right
  101. value: right
  102. - dps_val: stop
  103. value: stop
  104. - id: 14
  105. type: string
  106. name: path_data
  107. optional: true
  108. - id: 15
  109. type: string
  110. name: command_trans
  111. optional: true
  112. - id: 16
  113. type: string
  114. name: request
  115. optional: true
  116. - id: 35
  117. type: string
  118. name: voice_data
  119. optional: true
  120. - id: 101
  121. type: string
  122. name: smart_rooms_unseen
  123. optional: true
  124. - id: 102
  125. type: string
  126. name: rooms_msg_unseen
  127. optional: true
  128. - entity: switch
  129. name: Charge
  130. icon: "mdi:lightning-bolt"
  131. category: config
  132. dps:
  133. - id: 3
  134. type: boolean
  135. name: switch
  136. optional: true
  137. - entity: sensor
  138. name: Cleaning time
  139. class: duration
  140. category: diagnostic
  141. dps:
  142. - id: 6
  143. type: integer
  144. name: sensor
  145. unit: min
  146. class: measurement
  147. - entity: sensor
  148. name: Cleaned area
  149. class: area
  150. category: diagnostic
  151. dps:
  152. - id: 7
  153. type: integer
  154. name: sensor
  155. unit: m2
  156. - entity: sensor
  157. class: battery
  158. dps:
  159. - id: 8
  160. type: integer
  161. name: sensor
  162. unit: "%"
  163. class: measurement
  164. - entity: select
  165. translation_key: mopping
  166. dps:
  167. - id: 10
  168. type: string
  169. name: option
  170. mapping:
  171. - dps_val: low
  172. value: low
  173. - dps_val: middle
  174. value: medium
  175. - dps_val: high
  176. value: high
  177. - entity: button
  178. name: Reset map
  179. category: config
  180. dps:
  181. - id: 13
  182. type: boolean
  183. name: button
  184. optional: true
  185. - entity: switch
  186. translation_key: do_not_disturb
  187. category: config
  188. dps:
  189. - id: 25
  190. type: boolean
  191. name: switch
  192. - entity: number
  193. translation_key: volume
  194. category: config
  195. dps:
  196. - id: 26
  197. type: integer
  198. name: value
  199. unit: "%"
  200. range:
  201. min: 0
  202. max: 100
  203. - entity: switch
  204. name: Break clean
  205. category: config
  206. dps:
  207. - id: 27
  208. type: boolean
  209. name: switch
  210. - entity: binary_sensor
  211. class: problem
  212. category: diagnostic
  213. dps:
  214. - id: 28
  215. type: bitfield
  216. name: sensor
  217. mapping:
  218. - dps_val: 0
  219. value: false
  220. - value: true
  221. - id: 28
  222. type: bitfield
  223. name: fault_code
  224. - id: 28
  225. type: bitfield
  226. name: description
  227. mapping:
  228. - dps_val: 0
  229. value: ok
  230. - dps_val: 2
  231. value: left_wheel_hanging
  232. - dps_val: 4
  233. value: main_brush_stuck
  234. - dps_val: 8
  235. value: right_wheel_hanging
  236. - dps_val: 16
  237. value: left_wheel_jammed
  238. - dps_val: 32
  239. value: right_wheel_jammed
  240. - dps_val: 64
  241. value: cliff
  242. - dps_val: 128
  243. value: edge_sweeper_worn
  244. - dps_val: 512
  245. value: collision
  246. - dps_val: 1024
  247. value: dust_full
  248. - dps_val: 4096
  249. value: land_check
  250. - dps_val: 32768
  251. value: motor_jammed
  252. - dps_val: 65536
  253. value: overcurrent
  254. - dps_val: 131072
  255. value: docking_failure
  256. - dps_val: 524288
  257. value: jammed
  258. - dps_val: 1048576
  259. value: trapped
  260. - dps_val: 2097152
  261. value: laser_cover_stuck
  262. - dps_val: 4194304
  263. value: laser_blocked
  264. - dps_val: 8388608
  265. value: wall_sensors_blocked
  266. - dps_val: 16777216
  267. value: exclusion_zone_invalid
  268. - dps_val: 33554432
  269. value: charging_failure
  270. - dps_val: 67108864
  271. value: picked_up
  272. - entity: switch
  273. name: Cliff detect
  274. category: config
  275. dps:
  276. - id: 103
  277. type: boolean
  278. name: switch
  279. - entity: switch
  280. name: Y-mopping
  281. category: config
  282. dps:
  283. - id: 104
  284. type: boolean
  285. name: switch
  286. - entity: switch
  287. name: Custom mode
  288. category: config
  289. dps:
  290. - id: 105
  291. type: boolean
  292. name: switch