abir_x8_vacuum.yaml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. name: Robot vacuum
  2. products:
  3. - id: hslyk0g1sim9ojqu
  4. name: Abir X8
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: power
  11. - id: 2
  12. type: boolean
  13. name: activate
  14. - id: 4
  15. type: string
  16. name: command
  17. mapping:
  18. - dps_val: smart
  19. value: smart
  20. - dps_val: zone
  21. value: zone
  22. - dps_val: pose
  23. value: go_to_position
  24. - dps_val: part
  25. value: clean_spot
  26. - dps_val: chargego
  27. value: return_to_base
  28. - dps_val: wallfollow
  29. value: wall_follow
  30. - dps_val: selectroom
  31. value: select_room
  32. - id: 5
  33. type: string
  34. name: status
  35. mapping:
  36. - dps_val: standby
  37. value: standby
  38. - dps_val: smart
  39. value: cleaning
  40. - dps_val: zone_clean
  41. value: cleaning
  42. - dps_val: part_clean
  43. value: cleaning
  44. - dps_val: cleaning
  45. value: cleaning
  46. - dps_val: paused
  47. value: pause
  48. - dps_val: goto_pos
  49. value: going_to_location
  50. - dps_val: pos_arrived
  51. value: on_location
  52. - dps_val: pos_unarrive
  53. value: cannot_find_location
  54. - dps_val: goto_charge
  55. value: returning
  56. - dps_val: charging
  57. value: charging
  58. - dps_val: charge_done
  59. value: charged
  60. - dps_val: sleep
  61. value: sleep
  62. - dps_val: fault
  63. value: error
  64. - dps_val: wall_follow
  65. value: cleaning
  66. - dps_val: direction_control
  67. value: direction_control
  68. - dps_val: select_room
  69. value: select_room
  70. - dps_val: repositing
  71. value: repositioning
  72. - dps_val: charge_jack
  73. value: charging
  74. - id: 9
  75. type: string
  76. name: fan_speed
  77. mapping:
  78. - dps_val: strong
  79. value: High
  80. - dps_val: normal
  81. value: Medium
  82. - dps_val: gentle
  83. value: Low
  84. - id: 11
  85. type: boolean
  86. name: locate
  87. optional: true
  88. - id: 12
  89. type: string
  90. name: direction_control
  91. optional: true
  92. mapping:
  93. - dps_val: foward
  94. value: forward
  95. - dps_val: backward
  96. value: reverse
  97. - dps_val: turn_left
  98. value: left
  99. - dps_val: turn_right
  100. value: right
  101. - dps_val: stop
  102. value: stop
  103. - id: 14
  104. type: string
  105. name: path_data
  106. optional: true
  107. - id: 15
  108. type: string
  109. name: command_trans
  110. optional: true
  111. - id: 16
  112. type: string
  113. name: request
  114. optional: true
  115. - id: 35
  116. type: string
  117. name: voice_data
  118. optional: true
  119. - id: 101
  120. type: string
  121. name: smart_rooms_unseen
  122. optional: true
  123. - id: 102
  124. type: string
  125. name: rooms_msg_unseen
  126. optional: true
  127. secondary_entities:
  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. name: Do not disturb
  187. category: config
  188. dps:
  189. - id: 25
  190. type: boolean
  191. name: switch
  192. - entity: number
  193. name: Volume
  194. category: config
  195. icon: "mdi:volume-high"
  196. dps:
  197. - id: 26
  198. type: integer
  199. name: value
  200. unit: "%"
  201. range:
  202. min: 0
  203. max: 100
  204. - entity: switch
  205. name: Break clean
  206. category: config
  207. dps:
  208. - id: 27
  209. type: boolean
  210. name: switch
  211. - entity: binary_sensor
  212. class: problem
  213. category: diagnostic
  214. dps:
  215. - id: 28
  216. type: bitfield
  217. name: sensor
  218. mapping:
  219. - dps_val: 0
  220. value: false
  221. - value: true
  222. - id: 28
  223. type: bitfield
  224. name: fault_code
  225. - id: 28
  226. type: bitfield
  227. name: description
  228. mapping:
  229. - dps_val: 0
  230. value: ok
  231. - dps_val: 2
  232. value: left_wheel_hanging
  233. - dps_val: 4
  234. value: main_brush_stuck
  235. - dps_val: 8
  236. value: right_wheel_hanging
  237. - dps_val: 16
  238. value: left_wheel_jammed
  239. - dps_val: 32
  240. value: right_wheel_jammed
  241. - dps_val: 64
  242. value: cliff
  243. - dps_val: 128
  244. value: edge_sweeper_worn
  245. - dps_val: 512
  246. value: collision
  247. - dps_val: 1024
  248. value: dust_full
  249. - dps_val: 4096
  250. value: land_check
  251. - dps_val: 32768
  252. value: motor_jammed
  253. - dps_val: 65536
  254. value: overcurrent
  255. - dps_val: 131072
  256. value: docking_failure
  257. - dps_val: 524288
  258. value: jammed
  259. - dps_val: 1048576
  260. value: trapped
  261. - dps_val: 2097152
  262. value: laser_cover_stuck
  263. - dps_val: 4194304
  264. value: laser_blocked
  265. - dps_val: 8388608
  266. value: wall_sensors_blocked
  267. - dps_val: 16777216
  268. value: exclusion_zone_invalid
  269. - dps_val: 33554432
  270. value: charging_failure
  271. - dps_val: 67108864
  272. value: picked_up
  273. - entity: switch
  274. name: Cliff detect
  275. category: config
  276. dps:
  277. - id: 103
  278. type: boolean
  279. name: switch
  280. - entity: switch
  281. name: Y-mopping
  282. category: config
  283. dps:
  284. - id: 104
  285. type: boolean
  286. name: switch
  287. - entity: switch
  288. name: Custom mode
  289. category: config
  290. dps:
  291. - id: 105
  292. type: boolean
  293. name: switch