kogan_lx10_vacuum.yaml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. name: Kogan LX10 Robot Vacuum
  2. products:
  3. - id: ldb9ygikft5awhlu
  4. name: Kogan LX10 Robot Vacuum
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 101
  9. name: activate # clean_switch
  10. type: boolean
  11. - id: 102
  12. name: pause # pause_switch
  13. type: boolean
  14. hidden: true
  15. - id: 104
  16. name: command # clean_mode
  17. type: string
  18. mapping:
  19. - constraint: pause
  20. conditions:
  21. - dps_val: true
  22. value: pause
  23. - dps_val: false
  24. mapping:
  25. - dps_val: smart
  26. value: smart
  27. - dps_val: pose
  28. value: clean_spot
  29. - dps_val: zone
  30. value: zone
  31. - dps_val: backcharge
  32. value: return_to_base
  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: auto
  68. value: auto
  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: 122
  89. name: error # robot_fault
  90. type: bitfield
  91. mapping:
  92. - dps_val: 32
  93. value: Drop sensor abnormal
  94. - dps_val: 524288
  95. value: Machine trapped
  96. - dps_val: 1048576
  97. value: Was picked up at work
  98. - dps_val: 33554432
  99. value: Recharge failed
  100. - id: 123
  101. name: path_comm
  102. optional: true
  103. type: string
  104. - id: 124
  105. name: cmd_comm
  106. optional: true
  107. type: string
  108. - id: 125
  109. name: request_data
  110. optional: true
  111. type: string
  112. - id: 126
  113. name: comm_flag
  114. optional: true
  115. type: string
  116. - id: 127
  117. name: comm_raw
  118. optional: true
  119. type: string
  120. - id: 128
  121. name: message_report
  122. optional: true
  123. type: string
  124. - id: 130
  125. name: sn
  126. optional: true
  127. type: string
  128. - id: 131
  129. name: uuid
  130. optional: true
  131. type: string
  132. - id: 132
  133. name: device_info
  134. optional: true
  135. type: string
  136. secondary_entities:
  137. - entity: switch
  138. name: Charge switch
  139. category: config
  140. icon: "mdi:power-plug"
  141. dps:
  142. - id: 103
  143. name: switch
  144. type: boolean
  145. - entity: sensor
  146. class: battery
  147. dps:
  148. - id: 106
  149. type: integer
  150. name: sensor
  151. unit: "%"
  152. class: measurement
  153. - entity: sensor
  154. name: Current clean time
  155. category: diagnostic
  156. class: duration
  157. icon: "mdi:clock-outline"
  158. dps:
  159. - id: 107
  160. name: sensor
  161. type: integer
  162. unit: s
  163. - entity: sensor
  164. name: Current clean area
  165. category: diagnostic
  166. icon: "mdi:map-marker-distance"
  167. dps:
  168. - id: 108
  169. name: sensor
  170. type: integer
  171. unit: m²
  172. - entity: select
  173. name: Water mode
  174. category: config
  175. icon: "mdi:water"
  176. dps:
  177. - id: 110
  178. name: option
  179. type: string
  180. mapping:
  181. - dps_val: 'off'
  182. value: 'off'
  183. - dps_val: quiet
  184. value: quiet
  185. - dps_val: auto
  186. value: auto
  187. - dps_val: strong
  188. value: strong
  189. - entity: switch
  190. name: Disturb switch
  191. category: config
  192. icon: "mdi:bell-ring"
  193. dps:
  194. - id: 113
  195. name: switch
  196. type: boolean
  197. - entity: number
  198. name: Volume
  199. category: config
  200. icon: "mdi:volume-high"
  201. dps:
  202. - id: 114
  203. type: integer
  204. name: value
  205. range:
  206. min: 0
  207. max: 10
  208. - entity: button
  209. name: Get time
  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: gettime
  219. value: true
  220. - entity: button
  221. name: Reset side 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: resetsidebrush
  231. value: true
  232. - entity: button
  233. name: Reset main brush
  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: resetmainbrush
  243. value: true
  244. - entity: button
  245. name: Reset filter
  246. category: config
  247. icon: "mdi:clock-outline"
  248. dps:
  249. - id: 115
  250. type: string
  251. name: button
  252. optional: true
  253. mapping:
  254. - dps_val: resetfilter
  255. value: true
  256. - entity: sensor
  257. name: Total clean time
  258. category: diagnostic
  259. class: duration
  260. icon: "mdi:clock-outline"
  261. dps:
  262. - id: 116
  263. name: sensor
  264. type: integer
  265. unit: s
  266. - entity: sensor
  267. name: Total clean area
  268. category: diagnostic
  269. icon: "mdi:map-marker-distance"
  270. dps:
  271. - id: 117
  272. name: sensor
  273. type: integer
  274. unit: m²
  275. - entity: sensor
  276. name: Total clean count
  277. category: diagnostic
  278. icon: "mdi:counter"
  279. dps:
  280. - id: 118
  281. name: sensor
  282. type: integer
  283. - entity: sensor
  284. name: Side brush time
  285. category: diagnostic
  286. class: duration
  287. icon: "mdi:clock-outline"
  288. dps:
  289. - id: 119
  290. name: sensor
  291. optional: true
  292. type: integer
  293. unit: s
  294. - entity: sensor
  295. name: Main brush time
  296. category: diagnostic
  297. class: duration
  298. icon: "mdi:clock-outline"
  299. dps:
  300. - id: 120
  301. name: sensor
  302. optional: true
  303. type: integer
  304. unit: s
  305. - entity: sensor
  306. name: Filter time
  307. category: diagnostic
  308. class: duration
  309. icon: "mdi:clock-outline"
  310. dps:
  311. - id: 121
  312. name: sensor
  313. optional: true
  314. type: integer
  315. unit: s
  316. - entity: button
  317. name: Reset map
  318. category: config
  319. icon: "mdi:map-marker-remove"
  320. dps:
  321. - id: 129
  322. name: button
  323. optional: true
  324. type: boolean