#Rounding of time (solved)
1 messages · Page 1 of 1 (latest)
Remove the quotation marks to start (the ones at the start and end)
Allready tried that, i've also tried to round the value one more time . However without dividing the sensor value with 3600 rounding works.
What is the format of the original state you are trying to round?
the format is seconds, i want hours
{{ (states('sensor...') | float / 3600) | round(0) }}
you need to round after the division, not before
That did it thanks 🙂