Roborock S5 vacuum with Valetudo - missing (sensor) data

Hi.
I have just installed Valetudo (2021.05) on my Xiaomi Roborock S5 vacuum and it’s currently cleaning my house while I watch the map update in the Valetudo interface.
I didn’t really find a full how-to guide for integrating it into HA, but by pointing it to my HA MQTT broker, it… appeared :slight_smile:
I followed Roborock S5 zoned cleanup with Valetudo + Home Assistant (using almost the same code), which appears to be from @IronicBadger (thanks!), and got two nice cards to show my vacuum and the map in my Lovelace UI, but…
My time and area sensors are blank. (I can see these values in the Valetudo interface.)
Screen Shot 2021-06-03 at 3.26.24 pm

I found an issue that seems similar: Cleaning area and time empty · Issue #138 · denysdovhan/vacuum-card · GitHub but I don’t see any similar attributes in Dev Tools, so I wonder if I’m missing something.
I didn’t specify anything like adding an integration… it autodiscovered it, I guess.
Here’s what states I see in Dev Tools:

# vacuum.roborock shows:
fan_speed_list:
  - low
  - medium
  - high
  - max
  - 'off'
battery_level: 26
battery_icon: 'mdi:battery-30'
fan_speed: medium
friendly_name: Roborock
supported_features: 8956

And I have a few new entities like: sensor.main_filter, sensor.map_segments, etc.

As far as I can tell, the stats part of the card uses things like attribute: main_brush_left which references the attribute object of the vacuum, but… I don’t have one.
If I use something like:

              - entity_id: sensor.right_brush
                unit: minutes
                subtitle: Side brush

Then I can get the value of the sensor for the brush (since I do have this entity), but I’d like to follow what others seem to have done with the same model vacuum. And I mainly want the area and time, which I can’t find.

Alex, or anyone else (with an S5?)… can you tell what I’m missing and need to do to get these (and others if I should have more)? Thanks!

Hi. Have done it in the same way as you with filter and brushes, but I am also missing area and time. Roborock S5 with Valetudo 2021.06. Hope that someone else has a tip?

And I mainly want the area and time, which I can’t find.

Maybe that’s is not implemented via API Supported Robots | Valetudo. Mine config in cleaning status looks as follow:

      cleaning:
        - entity_id: sensor.valetudo_ironcladminiaturereindeer_current_statistics_area
          subtitle: Cleaning area
          value_template: '{{ (value | float(0) / 10000) | round(1) }}'
          unit: ㎡
        - entity_id: sensor.valetudo_ironcladminiaturereindeer_current_statistics_time
          subtitle: Cleaning time
          value_template: '{{ (value | float(0) / 60) | round(1) }}'
          unit: minutes

Also try to check this data in mqtt server, there should be such topic.

I should update this thread…
My sensor values are there now. I don’t know what version or change got them back, but it’s been fine for a while now.