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

Automation Delay template convert seconds to HH:MM:SS format

$
0
0

@Skye wrote:

For a random delay in an automation I am using the following template:

{{ range(5, 25)|random|multiply(60) }}

This gives me this error:

delay template: offset 2100.0 should be format 'HH:MM' or 'HH:MM:SS'

What function could I use to change seconds to HH:MM:SS ?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 110886

Trending Articles



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