When I use a Entity Card for the Time Remaining sensor it shows a value of 1092:15:00, however when I use a Guage Card it shows 65,535. What I would like is to show a guage with the number of days remaining.
I’ve tried creating a template as follows but it seems to be viewing the “:” in the output and failing.
Thanks for the quick reply J, I’m still getting this error.
Sensor None has device class ‘duration’, state class ‘measurement’ unit ‘min’ and suggested precision ‘None’ thus indicating it has a numeric value; however, it has the non-numeric value: ‘- platform: template sensors: minutes_to_hours: value_template: > 1092::15 hours’ (<class ‘str’>)
And in the logviewer this…
ValueError: Sensor sensor.time_remaining_in_hours has device class ‘duration’, state class ‘measurement’ unit ‘min’ and suggested precision ‘None’ thus indicating it has a numeric value; however, it has the non-numeric value: '- platform: template
sensors:
minutes_to_hours:
value_template: >