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

Help with time/day specific value_template

$
0
0

@Bartem wrote:

I have a value template which indicates my recycling week (every other)… how could I get this to be time specific and only be true from Tuesday at 10am to Wednesday at 9am? It is displayed in a conditional card and only want it to be true at the times I would want it displayed.


value_template: "{{(as_timestamp(now())|timestamp_custom ('%U') | int % 2) == 1 }}"

Posts: 3

Participants: 2

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>