kogan_lx10_vacuum.yaml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  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: 2
  93. value: Battery low
  94. - dps_val: 32
  95. value: Drop sensor abnormal
  96. - dps_val: 4096
  97. value: Abnormal main brush
  98. - dps_val: 524288
  99. value: Machine trapped
  100. - dps_val: 1048576
  101. value: Was picked up at work
  102. - dps_val: 33554432
  103. value: Recharge failed
  104. - id: 123
  105. name: path_comm
  106. optional: true
  107. type: string
  108. - id: 124
  109. name: cmd_comm
  110. optional: true
  111. type: string
  112. - id: 125
  113. name: request_data
  114. optional: true
  115. type: string
  116. - id: 126
  117. name: comm_flag
  118. optional: true
  119. type: string
  120. - id: 127
  121. name: comm_raw
  122. optional: true
  123. type: string
  124. - id: 128
  125. name: message_report
  126. optional: true
  127. type: string
  128. - id: 130
  129. name: sn
  130. optional: true
  131. type: string
  132. - id: 131
  133. name: uuid
  134. optional: true
  135. type: string
  136. - id: 132
  137. name: device_info
  138. optional: true
  139. type: string
  140. secondary_entities:
  141. - entity: switch
  142. name: Charge switch
  143. category: config
  144. icon: "mdi:power-plug"
  145. dps:
  146. - id: 103
  147. name: switch
  148. type: boolean
  149. - entity: sensor
  150. class: battery
  151. dps:
  152. - id: 106
  153. type: integer
  154. name: sensor
  155. unit: "%"
  156. class: measurement
  157. - entity: sensor
  158. name: Current clean time
  159. category: diagnostic
  160. class: duration
  161. icon: "mdi:clock-outline"
  162. dps:
  163. - id: 107
  164. name: sensor
  165. type: integer
  166. unit: s
  167. - entity: sensor
  168. name: Current clean area
  169. category: diagnostic
  170. icon: "mdi:map-marker-distance"
  171. dps:
  172. - id: 108
  173. name: sensor
  174. type: integer
  175. unit: m²
  176. - entity: select
  177. name: Water mode
  178. category: config
  179. icon: "mdi:water"
  180. dps:
  181. - id: 110
  182. name: option
  183. type: string
  184. mapping:
  185. - dps_val: 'off'
  186. value: 'off'
  187. - dps_val: quiet
  188. value: quiet
  189. - dps_val: auto
  190. value: auto
  191. - dps_val: strong
  192. value: strong
  193. - entity: switch
  194. name: Disturb switch
  195. category: config
  196. icon: "mdi:bell-ring"
  197. dps:
  198. - id: 113
  199. name: switch
  200. type: boolean
  201. - entity: number
  202. name: Volume
  203. category: config
  204. icon: "mdi:volume-high"
  205. dps:
  206. - id: 114
  207. type: integer
  208. name: value
  209. range:
  210. min: 0
  211. max: 10
  212. - entity: button
  213. name: Get time
  214. category: config
  215. icon: "mdi:clock-outline"
  216. dps:
  217. - id: 115
  218. type: string
  219. name: button
  220. optional: true
  221. mapping:
  222. - dps_val: gettime
  223. value: true
  224. - entity: button
  225. name: Reset side brush
  226. category: config
  227. icon: "mdi:clock-outline"
  228. dps:
  229. - id: 115
  230. type: string
  231. name: button
  232. optional: true
  233. mapping:
  234. - dps_val: resetsidebrush
  235. value: true
  236. - entity: button
  237. name: Reset main brush
  238. category: config
  239. icon: "mdi:clock-outline"
  240. dps:
  241. - id: 115
  242. type: string
  243. name: button
  244. optional: true
  245. mapping:
  246. - dps_val: resetmainbrush
  247. value: true
  248. - entity: button
  249. name: Reset filter
  250. category: config
  251. icon: "mdi:clock-outline"
  252. dps:
  253. - id: 115
  254. type: string
  255. name: button
  256. optional: true
  257. mapping:
  258. - dps_val: resetfilter
  259. value: true
  260. - entity: sensor
  261. name: Total clean time
  262. category: diagnostic
  263. class: duration
  264. icon: "mdi:clock-outline"
  265. dps:
  266. - id: 116
  267. name: sensor
  268. type: integer
  269. unit: s
  270. - entity: sensor
  271. name: Total clean area
  272. category: diagnostic
  273. icon: "mdi:map-marker-distance"
  274. dps:
  275. - id: 117
  276. name: sensor
  277. type: integer
  278. unit: m²
  279. - entity: sensor
  280. name: Total clean count
  281. category: diagnostic
  282. icon: "mdi:counter"
  283. dps:
  284. - id: 118
  285. name: sensor
  286. type: integer
  287. - entity: sensor
  288. name: Side brush time
  289. category: diagnostic
  290. class: duration
  291. icon: "mdi:clock-outline"
  292. dps:
  293. - id: 119
  294. name: sensor
  295. optional: true
  296. type: integer
  297. unit: s
  298. - entity: sensor
  299. name: Main brush time
  300. category: diagnostic
  301. class: duration
  302. icon: "mdi:clock-outline"
  303. dps:
  304. - id: 120
  305. name: sensor
  306. optional: true
  307. type: integer
  308. unit: s
  309. - entity: sensor
  310. name: Filter time
  311. category: diagnostic
  312. class: duration
  313. icon: "mdi:clock-outline"
  314. dps:
  315. - id: 121
  316. name: sensor
  317. optional: true
  318. type: integer
  319. unit: s
  320. - entity: button
  321. name: Reset map
  322. category: config
  323. icon: "mdi:map-marker-remove"
  324. dps:
  325. - id: 129
  326. name: button
  327. optional: true
  328. type: boolean