From f32e7683cf390eb19f0eb3842e20abb7ea0e6b51 Mon Sep 17 00:00:00 2001 From: Bearded Tinker Date: Sun, 6 Aug 2023 13:22:46 +0200 Subject: [PATCH] Final fix for Twitch notification on stream #83 --- automations/utilities/twitch_stream_notification.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/automations/utilities/twitch_stream_notification.yaml b/automations/utilities/twitch_stream_notification.yaml index b7441dbf..4aa1561b 100644 --- a/automations/utilities/twitch_stream_notification.yaml +++ b/automations/utilities/twitch_stream_notification.yaml @@ -17,12 +17,6 @@ trigger: - sensor.xisuma - sensor.frenck - ensor.tangotek -# attribute: live -# to: true -# for: -# hours: 0 -# minutes: 0 -# seconds: 1 condition: condition: template @@ -34,7 +28,7 @@ action: data: who: 'andrej' title: '🗣 Streaming' - value1: "Looks like '{{ trigger.state.attributes.friendly_name }}' is streaming {{trigger.platform}}" + value1: "Looks like {{ trigger.to_state.attributes.friendly_name }} is streaming {{trigger.to_state.attributes.title}}" target_id: !secret telegram_bot_chat_id group: information tag_id: 'information'