Removing youtube platform until I cna fix

This commit is contained in:
Jeffrey Stone 2021-06-16 21:08:29 -04:00
parent 30be5314c3
commit 1f4529a9bd
1 changed files with 26 additions and 25 deletions

View File

@ -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: >
{{ [
"Brand New Home Assistant Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} "
] | random }}
who: 'thejeffreystone'
# - service: script.twitter_notify
# data:
# tweet: >
# {{ [
# "New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} "
# ] | random }}
# who: 'AnchorageHouse2'
- delay: '00:10:00'
# - delay: '12:30: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'