From 1f4529a9bd50f6b232fc59a59463109502405706 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Wed, 16 Jun 2021 21:08:29 -0400 Subject: [PATCH] Removing youtube platform until I cna fix --- config/packages/youtube.yaml | 51 ++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/config/packages/youtube.yaml b/config/packages/youtube.yaml index def8e36..90bacf5 100755 --- a/config/packages/youtube.yaml +++ b/config/packages/youtube.yaml @@ -8,9 +8,9 @@ # https://github.com/CCOSTAN/Home-AssistantConfig/issues/720 #------------------------------------------- - sensor: - - platform: youtube - channel_id: UCipZJ6748kd8TbelSxcvcVg +# sensor: + # - platform: youtube + # channel_id: UCipZJ6748kd8TbelSxcvcVg automation: @@ -29,26 +29,27 @@ data_template: who: "jeff" message: New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} - # - repeat: - # count: 1 - # sequence: - # - delay: '00:03:00' - # - service: script.twitter_notify - # data: - # tweet: > - # {{ [ - # "New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} " - # ] | random }} - # who: 'thejeffreystone' + - repeat: + count: 1 + sequence: + - delay: '00:03:00' - # - delay: '00:10:00' - - # - service: script.twitter_notify - # data: - # tweet: > - # {{ [ - # "New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} " - # ] | random }} - # who: 'AnchorageHouse2' - - # - delay: '12:30:00' \ No newline at end of file + - service: script.twitter_notify + data: + tweet: > + {{ [ + "Brand New Home Assistant Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} " + ] | random }} + who: 'thejeffreystone' + + - delay: '00:10:00' + + - service: script.twitter_notify + data: + tweet: > + {{ [ + "New #homeassistant Video went Live! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} " + ] | random }} + who: 'slackerlabs' + + - delay: '12:30:00' \ No newline at end of file