Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105696

Trying to convert min to hh:mm:ss

$
0
0

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?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>