#Comparing dates
1 messages · Page 1 of 1 (latest)
#templates-archived can help you with templates
Pretty sure you'd want to convert them to something more like a timestamp though
1 messages · Page 1 of 1 (latest)
Does anybody know how to compare dates by.
I have already tried a lot of things but I cant get to to work. This is the latest template script I tried as a condition:
{{ states('input_datetime.abit_date') <= now().strftime('%Y-%m-%d') }}
#templates-archived can help you with templates
Pretty sure you'd want to convert them to something more like a timestamp though