abir_x8_vacuum.yaml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. name: Vacuum cleaner
  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: 28
  116. type: bitfield
  117. name: error
  118. mapping:
  119. - dps_val: 2
  120. value: left_wheel_hanging
  121. - dps_val: 4
  122. value: main_brush_stuck
  123. - dps_val: 8
  124. value: right_wheel_hanging
  125. - dps_val: 16
  126. value: left_wheel_jammed
  127. - dps_val: 32
  128. value: right_wheel_jammed
  129. - dps_val: 64
  130. value: cliff
  131. - dps_val: 128
  132. value: edge_sweeper_worn
  133. - dps_val: 512
  134. value: collision
  135. - dps_val: 1024
  136. value: dust_full
  137. - dps_val: 4096
  138. value: land_check
  139. - dps_val: 32768
  140. value: motor_jammed
  141. - dps_val: 65536
  142. value: overcurrent
  143. - dps_val: 131072
  144. value: docking_failure
  145. - dps_val: 524288
  146. value: jammed
  147. - dps_val: 1048576
  148. value: trapped
  149. - dps_val: 2097152
  150. value: laser_cover_stuck
  151. - dps_val: 4194304
  152. value: laser_blocked
  153. - dps_val: 8388608
  154. value: wall_sensors_blocked
  155. - dps_val: 16777216
  156. value: exclusion_zone_invalid
  157. - dps_val: 33554432
  158. value: charging_failure
  159. - dps_val: 67108864
  160. value: picked_up
  161. - id: 35
  162. type: string
  163. name: voice_data
  164. optional: true
  165. - id: 101
  166. type: string
  167. name: smart_rooms_unseen
  168. optional: true
  169. - id: 102
  170. type: string
  171. name: rooms_msg_unseen
  172. optional: true
  173. secondary_entities:
  174. - entity: switch
  175. name: Charge
  176. icon: "mdi:lightning-bolt"
  177. category: config
  178. dps:
  179. - id: 3
  180. type: boolean
  181. name: switch
  182. optional: true
  183. - entity: sensor
  184. name: Cleaning time
  185. class: duration
  186. category: diagnostic
  187. dps:
  188. - id: 6
  189. type: integer
  190. name: sensor
  191. unit: min
  192. class: measurement
  193. - entity: sensor
  194. name: Cleaned area
  195. category: diagnostic
  196. icon: "mdi:floor-plan"
  197. dps:
  198. - id: 7
  199. type: integer
  200. name: sensor
  201. unit: m2
  202. - entity: sensor
  203. class: battery
  204. dps:
  205. - id: 8
  206. type: integer
  207. name: sensor
  208. unit: "%"
  209. class: measurement
  210. - entity: select
  211. name: Mopping
  212. icon: "mdi:cup-water"
  213. dps:
  214. - id: 10
  215. type: string
  216. name: option
  217. mapping:
  218. - dps_val: low
  219. value: Low
  220. - dps_val: middle
  221. value: Medium
  222. - dps_val: high
  223. value: High
  224. - entity: button
  225. name: Reset map
  226. category: config
  227. dps:
  228. - id: 13
  229. type: boolean
  230. name: button
  231. optional: true
  232. - entity: switch
  233. name: Do not disturb
  234. category: config
  235. dps:
  236. - id: 25
  237. type: boolean
  238. name: switch
  239. - entity: number
  240. name: Volume
  241. category: config
  242. icon: "mdi:volume-high"
  243. dps:
  244. - id: 26
  245. type: integer
  246. name: value
  247. unit: "%"
  248. range:
  249. min: 0
  250. max: 100
  251. - entity: switch
  252. name: Break clean
  253. category: config
  254. dps:
  255. - id: 27
  256. type: boolean
  257. name: switch
  258. - entity: switch
  259. name: Cliff detect
  260. category: config
  261. dps:
  262. - id: 103
  263. type: boolean
  264. name: switch
  265. - entity: switch
  266. name: Y-mopping
  267. category: config
  268. dps:
  269. - id: 104
  270. type: boolean
  271. name: switch
  272. - entity: switch
  273. name: Custom mode
  274. category: config
  275. dps:
  276. - id: 105
  277. type: boolean
  278. name: switch