Hi All,
I’ve got a number of sensors on my dashboard that are not displaying the last digit when that digit is zero. The value below should show £0.90.
Is there an easy way to get the zero to show? - I’ve tried to ‘round’ the sensor, but still doesn’t show - as soon as the last digit isn’t zero, then the entire value is shown.
type: custom:mushroom-template-card
primary: Cost Today
secondary: £{{states('sensor.electricity_cost_today') }}
icon: ''
entity: sensor.electricity_cost_today
tap_action:
action: more-info
style: |
ha-card {
text-align: center;
}
Thanks
Leacho