Skip to content

Commit

Permalink
Final fix for Twitch notification on stream #83
Browse files Browse the repository at this point in the history
  • Loading branch information
BeardedTinker committed Aug 6, 2023
1 parent 91e962c commit f32e768
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions automations/utilities/twitch_stream_notification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit f32e768

Please sign in to comment.