From b827f1e06b51b27c9ed30904365ccb2ef11e9e00 Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Mon, 16 May 2022 13:43:02 -0700 Subject: [PATCH] Fix Syntax Error --- packages/media/media.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/media/media.yaml b/packages/media/media.yaml index 831d5c4..7271eef 100644 --- a/packages/media/media.yaml +++ b/packages/media/media.yaml @@ -52,9 +52,7 @@ script: data: option: Playing - - conditions: - - condition: template - value_template: "{{ is_state('media_player.living_room_roku', 'paused') }}" + - conditions: "{{ is_state('media_player.living_room_roku', 'paused') }}" sequence: - service: input_select.select_option target: @@ -65,6 +63,7 @@ script: - conditions: - condition: or conditions: + # Not sure why this doesn't work with shorthand notation? - condition: template value_template: "{{ is_state('media_player.living_room_roku', 'stopped') }}" - condition: template