kogan_lx8_vacuum.yaml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. name: Robot vacuum
  2. products:
  3. - id: 1bgkj0zbhbw7fppy
  4. manufacturer: Kogan
  5. model: LX8
  6. entities:
  7. - entity: vacuum
  8. dps:
  9. - id: 101
  10. name: activate # clean_switch
  11. type: boolean
  12. - id: 102
  13. name: command # pause_switch
  14. type: boolean
  15. mapping:
  16. - dps_val: true
  17. value: pause
  18. - dps_val: false
  19. constraint: clean_mode
  20. conditions:
  21. - dps_val: smart
  22. value: smart
  23. - dps_val: pose
  24. value: clean_spot
  25. - dps_val: zone
  26. value: zone
  27. - dps_val: backcharge
  28. value: return_to_base
  29. - id: 104
  30. name: clean_mode
  31. type: string
  32. optional: true
  33. - id: 105
  34. name: status # robot_state
  35. type: string
  36. mapping:
  37. - dps_val: idle
  38. value: standby
  39. - dps_val: pointing\areaing
  40. value: pointing_areaing
  41. - dps_val: totaling
  42. value: cleaning
  43. - dps_val: sweep
  44. value: sweep
  45. - dps_val: mop
  46. value: mop
  47. - dps_val: fault
  48. value: error
  49. - dps_val: pause
  50. value: paused
  51. - dps_val: chargring
  52. value: charging
  53. - dps_val: tocharge
  54. value: returning
  55. - dps_val: fullcharge
  56. value: charged
  57. - dps_val: remotectl
  58. value: remotectl
  59. - id: 109
  60. name: fan_speed # fan_mode
  61. type: string
  62. mapping:
  63. - dps_val: quiet
  64. value: quiet
  65. - dps_val: strong
  66. value: strong
  67. - dps_val: standard
  68. value: standard
  69. - id: 111
  70. name: direction_control # remote_ctrl
  71. optional: true
  72. type: string
  73. mapping:
  74. - dps_val: forward
  75. value: forward
  76. - dps_val: backward
  77. value: backward
  78. - dps_val: left
  79. value: left
  80. - dps_val: right
  81. value: right
  82. - dps_val: stop
  83. value: stop
  84. - id: 112
  85. name: locate # seek_robot
  86. optional: true
  87. type: boolean
  88. - id: 123
  89. name: path_comm
  90. optional: true
  91. type: string
  92. - id: 124
  93. name: cmd_comm
  94. optional: true
  95. type: string
  96. - id: 125
  97. name: request_data
  98. optional: true
  99. type: string
  100. - id: 126
  101. name: comm_flag
  102. optional: true
  103. type: string
  104. - id: 127
  105. name: comm_raw
  106. optional: true
  107. type: string
  108. - id: 128
  109. name: message_report
  110. optional: true
  111. type: string
  112. - id: 130
  113. name: sn
  114. optional: true
  115. type: string
  116. - id: 131
  117. name: uuid
  118. optional: true
  119. type: string
  120. - id: 132
  121. name: device_info
  122. optional: true
  123. type: string
  124. - entity: switch
  125. name: Charge switch
  126. category: config
  127. icon: "mdi:power-plug"
  128. dps:
  129. - id: 103
  130. name: switch
  131. type: boolean
  132. - entity: sensor
  133. class: battery
  134. dps:
  135. - id: 106
  136. type: integer
  137. name: sensor
  138. unit: "%"
  139. class: measurement
  140. - entity: sensor
  141. name: Current clean time
  142. category: diagnostic
  143. class: duration
  144. icon: "mdi:clock-outline"
  145. dps:
  146. - id: 107
  147. name: sensor
  148. type: integer
  149. unit: s
  150. - entity: sensor
  151. name: Current clean area
  152. class: area
  153. category: diagnostic
  154. dps:
  155. - id: 108
  156. name: sensor
  157. type: integer
  158. unit: m2
  159. optional: true
  160. - entity: select
  161. translation_key: mopping
  162. category: config
  163. dps:
  164. - id: 110
  165. name: option
  166. type: string
  167. mapping:
  168. - dps_val: 'off'
  169. value: 'off'
  170. - dps_val: quiet
  171. value: low
  172. - dps_val: auto
  173. value: auto
  174. - dps_val: strong
  175. value: high
  176. optional: true
  177. - entity: switch
  178. translation_key: do_not_disturb
  179. category: config
  180. dps:
  181. - id: 113
  182. name: switch
  183. type: boolean
  184. optional: true
  185. - entity: number
  186. name: Volume
  187. category: config
  188. icon: "mdi:volume-high"
  189. dps:
  190. - id: 114
  191. type: integer
  192. name: value
  193. range:
  194. min: 0
  195. max: 10
  196. - entity: button
  197. name: Get time
  198. category: config
  199. icon: "mdi:clock-outline"
  200. dps:
  201. - id: 115
  202. type: string
  203. name: button
  204. optional: true
  205. mapping:
  206. - dps_val: gettime
  207. value: true
  208. - entity: button
  209. name: Reset side brush
  210. category: config
  211. icon: "mdi:clock-outline"
  212. dps:
  213. - id: 115
  214. type: string
  215. name: button
  216. optional: true
  217. mapping:
  218. - dps_val: resetsidebrush
  219. value: true
  220. - entity: button
  221. name: Reset main brush
  222. category: config
  223. icon: "mdi:clock-outline"
  224. dps:
  225. - id: 115
  226. type: string
  227. name: button
  228. optional: true
  229. mapping:
  230. - dps_val: resetmainbrush
  231. value: true
  232. - entity: button
  233. name: Reset filter
  234. category: config
  235. icon: "mdi:clock-outline"
  236. dps:
  237. - id: 115
  238. type: string
  239. name: button
  240. optional: true
  241. mapping:
  242. - dps_val: resetfilter
  243. value: true
  244. - entity: sensor
  245. name: Total clean time
  246. category: diagnostic
  247. class: duration
  248. icon: "mdi:clock-outline"
  249. dps:
  250. - id: 116
  251. name: sensor
  252. type: integer
  253. unit: s
  254. optional: true
  255. - entity: sensor
  256. name: Total clean area
  257. class: area
  258. category: diagnostic
  259. dps:
  260. - id: 117
  261. name: sensor
  262. type: integer
  263. unit: m2
  264. optional: true
  265. - entity: sensor
  266. name: Total clean count
  267. category: diagnostic
  268. icon: "mdi:counter"
  269. dps:
  270. - id: 118
  271. name: sensor
  272. type: integer
  273. optional: true
  274. - entity: sensor
  275. name: Side brush time
  276. category: diagnostic
  277. class: duration
  278. icon: "mdi:clock-outline"
  279. dps:
  280. - id: 119
  281. name: sensor
  282. optional: true
  283. type: integer
  284. unit: s
  285. - entity: sensor
  286. name: Main brush time
  287. category: diagnostic
  288. class: duration
  289. icon: "mdi:clock-outline"
  290. dps:
  291. - id: 120
  292. name: sensor
  293. optional: true
  294. type: integer
  295. unit: s
  296. - entity: sensor
  297. name: Filter time
  298. category: diagnostic
  299. class: duration
  300. icon: "mdi:clock-outline"
  301. dps:
  302. - id: 121
  303. name: sensor
  304. optional: true
  305. type: integer
  306. unit: s
  307. - entity: button
  308. name: Reset map
  309. category: config
  310. icon: "mdi:map-marker-remove"
  311. dps:
  312. - id: 129
  313. name: button
  314. optional: true
  315. type: boolean
  316. - entity: binary_sensor
  317. class: problem
  318. category: diagnostic
  319. dps:
  320. - id: 122
  321. type: bitfield
  322. name: sensor
  323. mapping:
  324. - dps_val: 0
  325. value: false
  326. - value: true
  327. - id: 122
  328. type: bitfield
  329. name: fault_code
  330. - id: 122
  331. name: description
  332. type: bitfield
  333. mapping:
  334. - dps_val: 0
  335. value: ok
  336. - dps_val: 2
  337. value: Battery low
  338. - dps_val: 32
  339. value: Drop sensor abnormal
  340. - dps_val: 4096
  341. value: Abnormal main brush
  342. - dps_val: 524288
  343. value: Machine trapped
  344. - dps_val: 1048576
  345. value: Was picked up at work
  346. - dps_val: 33554432
  347. value: Recharge failed