Fix Automation Syntax
This commit is contained in:
@@ -126,8 +126,8 @@ automation:
|
|||||||
value_template: >
|
value_template: >
|
||||||
{{ iif('Running' in state_attr('climate.thermostat', 'fan_state'), 'true', 'false') }}
|
{{ iif('Running' in state_attr('climate.thermostat', 'fan_state'), 'true', 'false') }}
|
||||||
condition:
|
condition:
|
||||||
- condition: "{{ is_state('input_boolean.ht_adjust_volume_hvac', 'on') }}"
|
- "{{ is_state('input_boolean.ht_adjust_volume_hvac', 'on') }}"
|
||||||
- condition: "{{ is_state('media_player.living_room_receiver', 'on') }}"
|
- "{{ is_state('media_player.living_room_receiver', 'on') }}"
|
||||||
action:
|
action:
|
||||||
- repeat:
|
- repeat:
|
||||||
count: 6
|
count: 6
|
||||||
@@ -142,8 +142,8 @@ automation:
|
|||||||
value_template: >
|
value_template: >
|
||||||
{{ iif('Running' in state_attr('climate.thermostat', 'fan_state'), 'false', 'true') }}
|
{{ iif('Running' in state_attr('climate.thermostat', 'fan_state'), 'false', 'true') }}
|
||||||
condition:
|
condition:
|
||||||
- condition: "{{ is_state('input_boolean.ht_adjust_volume_hvac', 'on') }}"
|
- "{{ is_state('input_boolean.ht_adjust_volume_hvac', 'on') }}"
|
||||||
- condition: "{{ is_state('media_player.living_room_receiver', 'on') }}"
|
- "{{ is_state('media_player.living_room_receiver', 'on') }}"
|
||||||
action:
|
action:
|
||||||
- repeat:
|
- repeat:
|
||||||
count: 6
|
count: 6
|
||||||
|
|||||||
Reference in New Issue
Block a user