#Ping / Entities card units

6 messages · Page 1 of 1 (latest)

frosty pond
#

Perhaps this is a bug, if so, I've searched and not found anything.

The "Entities" (note the plural) card is ignoring the units set in the entity it's displaying.

I have the Ping integration tracking, well...ping times. The "Entity" (singular) card shows ping times in ms, as expected. The "Entities" (plural) card shows them as seconds, regardless of the unit I set on the entity itself. Is this intended behavior?

noble mantle
#

That's how device_class: duration works.

#

It's actually getting a much needed improvement in 2024.12, so stay tuned for that.

#

You'll have more control over the output format.

frosty pond
#

Oh, so it cannot be made to behave the way the entity card does?

#

Could I pass the information to a helper somehow and format it? And then pass it back?