Modify values when shown on a Lovelace card #10365
Unanswered
matphillips
asked this question in
Dashboard
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed the "sensor.total_daily_energy_cost" and thought it may be nice to add it to my 'power' card dashboard. It does work, but the value of that sensor is (currently) 68.2198 which is a little more precise than I really need. (Especially as I am using Japanese Yen for the currency, and fractions of a yen are not actually a thing)
I want to be able to modify the value when shown in the card. Simply rounding the number will be fine. A value of 68 here is plenty informative.
Any way to add a filter or something here?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions