Trying to convert min to hh:mm:ss

hi, the road was long to make my card work, it now does, but I want better results.

my lawn mower gives total blades on time entity, in minutes, it now outputs 19240 somtehing, as I wanted as output the total number of minutes by day I created, with help of forum users a utility meter helper wich works but still outputting minutes, now what I want is minutes as hh:mm:ss, for that I created a sensor template

{% set minutos = states('sensor.tiempo_total_cuchillas_dolly')  %}
{% set tiempo = timedelta(minutes=minutos) %}
{{ tiempo }}

now the problem is that the sensor template is as unavailable

sensor.tiempo_total_cuchillas_dolly

is the entity created when the utility meter helper was used.

any suggestion?

{% set minutos = states('sensor.tiempo_total_cuchillas_dolly') | float(0) %}

thanks, I`ll try, could you explain why is that?

Don’t include a state class, it should be none

not available and if I enter there is some message too