mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 23:36:42 +00:00
Updated for correct templating of trigger_id
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
- thu
|
||||
- fri
|
||||
action:
|
||||
# - wait_template: >-
|
||||
# {{ is_state('group.garage_doors', 'open') }}
|
||||
# - delay: 00:03:00
|
||||
- wait_template: "{{ is_state('group.garage_doors', 'open') }}"
|
||||
timeout: '00:45:00'
|
||||
- delay: 00:03:00
|
||||
- service: light.turn_off
|
||||
entity_id: all
|
||||
|
@@ -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 -%}
|
||||
|
||||
|
Reference in New Issue
Block a user