lenovo_e1_vacuum.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. name: Lenovo E1 vacuum
  2. products:
  3. - id: lec6zthbnidtvk2g
  4. name: Lenovo E1
  5. primary_entity:
  6. entity: vacuum
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: power
  11. - id: 17
  12. type: bitfield
  13. name: error
  14. mapping:
  15. - dps_val: 1
  16. value: cliff
  17. - dps_val: 2
  18. value: impact
  19. - dps_val: 4
  20. value: wheel
  21. - dps_val: 8
  22. value: brush
  23. - dps_val: 16
  24. value: fan
  25. - dps_val: 32
  26. value: roller_brush
  27. - dps_val: 64
  28. value: low_power
  29. - dps_val: 128
  30. value: give_up
  31. - dps_val: 256
  32. value: no_dust
  33. - dps_val: 512
  34. value: none
  35. - id: 101
  36. type: string
  37. name: status
  38. mapping:
  39. - dps_val: SLEEP
  40. value: standby
  41. - dps_val: HALTING
  42. value: halting
  43. - dps_val: CLEANING
  44. value: cleaning
  45. - dps_val: CLEAN_COMP
  46. value: cleaning_complete
  47. - dps_val: FIND_STA
  48. value: returning
  49. - dps_val: CHARGING_STA
  50. value: charging
  51. - dps_val: CHARGING_DC
  52. value: charging
  53. - dps_val: CHARG_COMP
  54. value: standby
  55. - id: 102
  56. type: string
  57. name: command
  58. mapping:
  59. - dps_val: clean_auto
  60. value: auto
  61. - dps_val: clean_random
  62. value: random
  63. - dps_val: clean_wall
  64. value: wall_follow
  65. - dps_val: clean_spot
  66. value: clean_spot
  67. - dps_val: clean_sroom
  68. value: clean_room
  69. - dps_val: find_sta
  70. value: return_to_base
  71. - dps_val: "null"
  72. value: unknown
  73. - id: 104
  74. type: string
  75. name: fan
  76. mapping:
  77. - dps_val: FANHALTING
  78. value: low
  79. - dps_val: FANNORAM
  80. value: mid
  81. - dps_val: FANMAX
  82. value: high
  83. - id: 105
  84. type: string
  85. name: direction_control
  86. mapping:
  87. - dps_val: MoveForward
  88. value: forward
  89. - dps_val: MoveBackward
  90. value: backward
  91. - dps_val: MoveLeft
  92. value: left
  93. - dps_val: MoveRight
  94. value: right
  95. - dps_val: stop
  96. value: stop
  97. - id: 108
  98. type: integer
  99. name: battery
  100. - id: 112
  101. type: string
  102. name: activate
  103. mapping:
  104. - dps_val: "0"
  105. value: false
  106. - dps_val: "1"
  107. value: true
  108. - id: 116
  109. type: boolean
  110. name: locate
  111. optional: true
  112. - id: 118
  113. type: integer
  114. name: model
  115. - id: 119
  116. type: integer
  117. name: data_sample
  118. secondary_entities:
  119. - entity: sensor
  120. name: Clean area
  121. category: diagnostic
  122. dps:
  123. - id: 14
  124. type: integer
  125. name: sensor
  126. unit: m2
  127. class: measurement
  128. - entity: sensor
  129. name: Clean time
  130. class: duration
  131. category: diagnostic
  132. dps:
  133. - id: 107
  134. type: integer
  135. name: sensor
  136. unit: min
  137. - entity: sensor
  138. name: Brush life
  139. icon: "mdi:pinwheel"
  140. category: diagnostic
  141. dps:
  142. - id: 109
  143. type: integer
  144. name: sensor
  145. unit: "%"
  146. - entity: sensor
  147. name: Roller brush life
  148. icon: "mdi:tire"
  149. category: diagnostic
  150. dps:
  151. - id: 110
  152. type: integer
  153. name: sensor
  154. unit: "%"
  155. - entity: sensor
  156. name: HEPA filter life
  157. category: diagnostic
  158. icon: "mdi:air-filter"
  159. dps:
  160. - id: 111
  161. type: integer
  162. name: sensor
  163. unit: "%"
  164. - entity: button
  165. name: Reset brush
  166. icon: "mdi:pinwheel"
  167. category: config
  168. dps:
  169. - id: 113
  170. type: boolean
  171. name: button
  172. optional: true
  173. - entity: button
  174. name: Reset roller brush
  175. icon: "mdi:tire"
  176. category: config
  177. dps:
  178. - id: 114
  179. type: boolean
  180. name: button
  181. optional: true
  182. - entity: button
  183. name: Reset HEPA filter
  184. icon: "mdi:air-filter"
  185. category: config
  186. dps:
  187. - id: 115
  188. type: boolean
  189. name: button
  190. optional: trus
  191. - entity: select
  192. name: Scheduled clean
  193. icon: "mdi:robot-vacuum"
  194. category: config
  195. dps:
  196. - id: 117
  197. type: string
  198. name: option
  199. mapping:
  200. - dps_val: clean_auto
  201. value: auto
  202. - dps_val: clean_random
  203. value: random
  204. - dps_val: clean_wall
  205. value: wall
  206. - dps_val: clean_spot
  207. value: spot
  208. - dps_val: find_sta
  209. value: dock
  210. - entity: select
  211. name: Mopping
  212. icon: "mdi:format-color-fill"
  213. category: config
  214. dps:
  215. - id: 120
  216. type: string
  217. name: option
  218. mapping:
  219. - dps_val: water_small
  220. value: Low
  221. - dps_val: water_big
  222. value: High
  223. - dps_val: water_auto
  224. value: Auto