Round values in entities card

Hi,

I have an entities card in which I want to display two values side by side, making use of multiple-entity-row. This works in principal, but a few releases ago, the values started to be displayed without any rounding. Here’s what I mean:

Here’s the yaml code. The entities being displayed (sensor.shelly_plug_s_nas_jahrlich and sensor.shelly_plug_s_nas_monatlich) are utility meters, and their display precision is set to 0.000 as desired.

  - type: entities
    entities:
      - entity: sensor.shelly_plug_s_nas_jahrlich
        type: custom:multiple-entity-row
        name: Energiebedarf
        state_header: Jährlich
        icon: mdi:counter
        entities:
          - entity: sensor.shelly_plug_s_nas_monatlich
            name: Monatlich
    state_color: true

What do I have to do to display my values rounded to 3 digits?
Thanks
Christian

If you click on the number, then the cogwheel…you should see soemthing like this

2 Likes

I already did that - see my description :wink:

Thanks anyways for trying to help!

The Display Precision also didn’t work for me in the multiple-entity-row.
Take a look at the formatting precision<0-9> option.

              - entity: sensor.temperature
                name: false
                format: precision1
1 Like

Yes in certain Cards, it doesn’t “bite”, same with custom:banner-card … it’s in the hands of the 3rd part devs

Even thou one can change the “round” in Settings/Devices/entities, then you actually not changing the sensors(would be catastrophic if that was possible) :slight_smile:

With me it is all fine in entities card, what I noticed is if the display-value is different in another card then it may take that one, i.e. one seems to have only 1 display value per entity (makes sense)

That works like a charm - thanks! Stupid me - I was looking for such an option, but only in entities :slight_smile: