kabum_smart700_vacuum.yaml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. name: Robot vacuum
  2. products:
  3. - id: pu5cpxucdrdrr21a
  4. name: Kabum Smart 700
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 2
  9. type: boolean
  10. name: activate
  11. - id: 3
  12. type: string
  13. name: command
  14. mapping:
  15. - dps_val: smart
  16. value: smart
  17. - dps_val: zone
  18. value: zone
  19. - dps_val: pose
  20. value: go_to_position
  21. - dps_val: part
  22. value: clean_spot
  23. - dps_val: chargego
  24. value: return_to_base
  25. - dps_val: wallfollow
  26. value: wall_follow
  27. - dps_val: selectroom
  28. value: select_room
  29. - id: 4
  30. type: string
  31. name: direction_control
  32. optional: true
  33. mapping:
  34. - dps_val: forward
  35. value: forward
  36. - dps_val: backward
  37. value: reverse
  38. - dps_val: turn_left
  39. value: left
  40. - dps_val: turn_right
  41. value: right
  42. - dps_val: stop
  43. value: stop
  44. - id: 5
  45. type: string
  46. name: status
  47. mapping:
  48. - dps_val: standby
  49. value: standby
  50. - dps_val: smart_clean
  51. value: cleaning
  52. - dps_val: zone_clean
  53. value: cleaning
  54. - dps_val: part_clean
  55. value: cleaning
  56. - dps_val: paused
  57. value: pause
  58. - dps_val: goto_pos
  59. value: going_to_location
  60. - dps_val: pos_arrived
  61. value: on_location
  62. - dps_val: pos_unarrive
  63. value: cannot_find_location
  64. - dps_val: to_charge
  65. value: returning
  66. - dps_val: charging
  67. value: charging
  68. - dps_val: charge_done
  69. value: charged
  70. - dps_val: sleep
  71. value: sleep
  72. - dps_val: fault
  73. value: error
  74. - dps_val: wall_follow
  75. value: wall_follow
  76. - dps_val: direction_control
  77. value: direction_control
  78. - dps_val: selectroom
  79. value: select_room
  80. - id: 13
  81. type: boolean
  82. name: locate
  83. optional: true
  84. - id: 14
  85. type: string
  86. name: fan_speed
  87. mapping:
  88. - dps_val: strong
  89. value: High
  90. - dps_val: normal
  91. value: Medium
  92. - dps_val: quiet
  93. value: Low
  94. - id: 18
  95. type: bitfield
  96. name: error
  97. mapping:
  98. - dps_val: 2
  99. value: left_wheel_hang
  100. - dps_val: 4
  101. value: main_brush_stuck
  102. - dps_val: 8
  103. value: right_wheel_hang
  104. - dps_val: 16
  105. value: left_wheel_stuck
  106. - dps_val: 32
  107. value: right_wheel_stuck
  108. - dps_val: 64
  109. value: cliff
  110. - dps_val: 128
  111. value: side_brush_stuck
  112. - dps_val: 512
  113. value: collision
  114. - dps_val: 1024
  115. value: dust_box_stuck
  116. - dps_val: 4096
  117. value: ground_check_failure
  118. - dps_val: 32768
  119. value: vacuum_motor_stuck
  120. - dps_val: 65536
  121. value: high_current
  122. - dps_val: 131072
  123. value: charge_port_closed
  124. - id: 101
  125. type: boolean
  126. name: pause
  127. secondary_entities:
  128. - entity: sensor
  129. class: battery
  130. dps:
  131. - id: 6
  132. type: integer
  133. name: sensor
  134. unit: "%"
  135. class: measurement
  136. - entity: sensor
  137. name: Cleaned area
  138. category: diagnostic
  139. icon: "mdi:floor-plan"
  140. dps:
  141. - id: 16
  142. type: integer
  143. name: sensor
  144. unit: m2
  145. - entity: sensor
  146. name: Cleaning time
  147. class: duration
  148. category: diagnostic
  149. icon: "mdi:clock-outline"
  150. dps:
  151. - id: 17
  152. type: integer
  153. name: sensor
  154. unit: min
  155. - entity: select
  156. translation_key: mopping
  157. category: config
  158. dps:
  159. - id: 102
  160. type: string
  161. name: option
  162. mapping:
  163. - dps_val: "0"
  164. value: "off"
  165. - dps_val: "1"
  166. value: low
  167. - dps_val: "2"
  168. value: medium
  169. - dps_val: "3"
  170. value: high
  171. - entity: button
  172. name: Reset map
  173. category: config
  174. dps:
  175. - id: 103
  176. type: boolean
  177. name: button
  178. optional: true
  179. - id: 104
  180. type: string
  181. name: map_request
  182. optional: true
  183. - id: 105
  184. type: string
  185. name: complex_command
  186. optional: true
  187. - id: 106
  188. type: string
  189. name: path_data
  190. optional: true
  191. - id: 108
  192. type: string
  193. name: smart_rooms
  194. optional: true
  195. - id: 109
  196. type: bitfield
  197. name: rooms_msg
  198. optional: true
  199. mapping:
  200. - dps_val: null
  201. value: None
  202. - dps_val: 0
  203. value: None
  204. - dps_val: 1
  205. value: split
  206. - dps_val: 2
  207. value: merger
  208. - dps_val: 4
  209. value: map
  210. - dps_val: 8
  211. value: robot_cleaning
  212. - dps_val: 16
  213. value: active_split
  214. - dps_val: 32
  215. value: not_by_human
  216. - dps_val: 64
  217. value: save_fail
  218. - dps_val: 128
  219. value: split_success
  220. - dps_val: 256
  221. value: merger_success
  222. - dps_val: 512
  223. value: choice_no_found
  224. - dps_val: 1024
  225. value: count_error
  226. - dps_val: 2048
  227. value: choice_set_ok
  228. - entity: switch
  229. name: Do not disturb
  230. category: config
  231. dps:
  232. - id: 107
  233. type: boolean
  234. name: switch
  235. - entity: switch
  236. name: Break clean
  237. category: config
  238. icon: "mdi:motion-pause"
  239. dps:
  240. - id: 110
  241. type: boolean
  242. name: switch
  243. - entity: select
  244. translation_key: language
  245. category: config
  246. dps:
  247. - id: 111
  248. type: string
  249. name: option
  250. optional: true
  251. mapping:
  252. - dps_val: cn
  253. value: chinese
  254. - dps_val: en
  255. value: english
  256. - entity: number
  257. name: Volume
  258. category: config
  259. icon: "mdi:volume-high"
  260. dps:
  261. - id: 112
  262. type: integer
  263. name: value
  264. optional: true
  265. range:
  266. min: 0
  267. max: 100
  268. unit: "%"
  269. - entity: switch
  270. name: Y-mopping
  271. category: config
  272. dps:
  273. - id: 113
  274. type: boolean
  275. name: switch