denysdovhan / vacuum-card

Vacuum cleaner card for Home Assistant Lovelace UI
https://denysdovhan.com/smart-home
MIT License
909 stars 531 forks source link

Xiaomi Mi Robot Vacuum (STYJ02YM) no information #27

Closed stormnetgd closed 4 years ago

stormnetgd commented 4 years ago

STYJ02YM no information about Filter, Side brush and others.

vacuum

denysdovhan commented 4 years ago

Any other debug information?

Mdleal commented 4 years ago

same. I'm using valetudo mqtt integration for the vac.

image

krystiancharubin commented 4 years ago

Currently the card is expecting stats attributes to be named <name>_left. For example when looking for main brush its expecting main_brush_left instead of mainBrush that your vacuum is providing. With #29 you will be able to configure the stats area to show any attribute depending on the state of the vacuum.

For example if you wanted to add cleaning time to stats area when vacuum is cleaning you would add the following to your configration.

stats:
  cleaning:
    - attribute: cleanTime
      unit: minutes
      subtitle: Cleaning Time
denysdovhan commented 4 years ago

Should be resolved by #29. It will be released as 1.0.0.