|
@@ -55,7 +55,7 @@ action:
|
|
|
Display {{ state_attr(repeat.item, "friendly_name") }} is ready for Lovelace «{{ dashboard_path }}/{{ dashboard_view }}».
|
|
|
- variables:
|
|
|
is_muted: "{{ is_state_attr(repeat.item, 'is_volume_muted', true) }}"
|
|
|
- - if: "{{ is_muted }}"
|
|
|
+ - if: "{{ not is_muted }}"
|
|
|
then:
|
|
|
- service: media_player.volume_mute
|
|
|
data:
|
|
@@ -67,7 +67,7 @@ action:
|
|
|
entity_id: "{{ repeat.item }}"
|
|
|
dashboard_path: "{{ dashboard_path }}"
|
|
|
view_path: "{{ dashboard_view }}"
|
|
|
- - if: "{{ is_muted }}"
|
|
|
+ - if: "{{ not is_muted }}"
|
|
|
then:
|
|
|
- wait_template: >-
|
|
|
{{ is_state_attr(repeat.item, 'app_name', 'Home Assistant Lovelace' ) }}
|