Updated for correct templating of trigger_id

This commit is contained in:
ccostan
2020-08-19 20:26:45 -04:00
parent f69a552da9
commit e903e2f778
4 changed files with 8 additions and 8 deletions

View File

@@ -19,7 +19,7 @@
- condition: template
value_template: >
{% set month=states("sensor.date").split('-')[1] | int %}
{%- if month == 4 or month == 5 or month == 6 or month == 7 or month == 8 -%}
{%- if month == 4 or month == 5 or month == 6 or month == 7 -%}
true
{%- endif -%}