benct / lovelace-xiaomi-vacuum-card

Simple card for various robot vacuums in Home Assistant's Lovelace UI
MIT License
261 stars 38 forks source link

Attributes unavailable for Valetudo vacuum cleaner. #101

Open ambarusa opened 2 years ago

ambarusa commented 2 years ago

Hi, I like very much the layout of the card, unfortunately, I cannot hook up with my Valetudo vacuum. As you can see on the picture, the attributes are not loaded in any way, by saving the configuration, or refreshing the page. I also tried the key without the sensor prefix. Do you have any idea how can I fix it?

image

ambarusa commented 2 years ago

Here's how the device looks after adding to the config. I hope that helps:

image

samiracho commented 2 years ago

In my case I made it working setting the keys without sensor.valetudo_roborock_s50

entity: vacuum.valetudo_roborock_s50
vendor: valetudo
attributes:
  main_brush:
    key: main_brush
    unit: ' min'
  side_brush:
    key: right_brush
    unit: ' min'
  filter:
    key: main_filter
    unit: ' min'
  sensor:
    key: sensor_cleaning
    unit: ' min'
Andoramb commented 2 years ago

Thanks @samiracho, that attributes part solves this 👍

Camposmansi commented 8 months ago

Thanks @samiracho, that attributes part solves this 👍