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 # https://github.com/CCOSTAN/Home-AssistantConfig/issues/720
#------------------------------------------- #-------------------------------------------
sensor: # sensor:
- platform: youtube # - platform: youtube
channel_id: UCipZJ6748kd8TbelSxcvcVg # channel_id: UCipZJ6748kd8TbelSxcvcVg
automation: automation:
@ -29,26 +29,27 @@
data_template: data_template:
who: "jeff" who: "jeff"
message: New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} message: New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }}
# - repeat: - repeat:
# count: 1 count: 1
# sequence: sequence:
# - delay: '00:03:00' - delay: '00:03:00'
# - service: script.twitter_notify
# data:
# tweet: >
# {{ [
# "New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} "
# ] | random }}
# who: 'thejeffreystone'
# - delay: '00:10:00' - service: script.twitter_notify
data:
# - service: script.twitter_notify tweet: >
# data: {{ [
# tweet: > "Brand New Home Assistant Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} "
# {{ [ ] | random }}
# "New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }} " who: 'thejeffreystone'
# ] | 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'