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

Calculation in templates

$
0
0

@mar_robHD wrote:

how can I calculate -1H and -20M in this template?
How is that possible?

{{ as_timestamp(state_attr('sun.sun','next_setting')) |timestamp_custom('%H:%M') }}

Thank you

Posts: 10

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



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