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

Difference in seconds between input_datetime and now()

$
0
0

Hi
in my template I want to compare my input_datetime with now() and I want:
TRUE → if input_datetime - now() < 60 seconds.

This not works

{{ now() - (states.input_datetime.volume_night_alexas.state)}}

Could you help me?
Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105589

Trending Articles



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