mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 15:26:58 +00:00
Remove all Twitter instances since they went to a pay model.
This commit is contained in:
@@ -11,40 +11,3 @@
|
||||
sensor:
|
||||
- platform: youtube
|
||||
channel_id: UC301G8JJFzY0BZ_0lshpKpQ
|
||||
|
||||
automation:
|
||||
- alias: YouTube Notification - vCloudInfo
|
||||
id: 4840f2ae-a0eb-497b-bf78-5e99ff28a9f0
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.vcloudinfo
|
||||
attribute: url
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
|
||||
|
||||
action:
|
||||
- repeat:
|
||||
count: 1
|
||||
sequence:
|
||||
- delay: '00:03:00'
|
||||
- service: script.tweet_engine_no_image
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"New Video! {{ states('sensor.vcloudinfo') }} - {{ state_attr('sensor.vcloudinfo','url') }} "
|
||||
] | random }}
|
||||
who: 'ccostan'
|
||||
|
||||
- delay: '00:10:00'
|
||||
|
||||
- service: script.tweet_engine_no_image
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"New Video! {{ states('sensor.vcloudinfo') }} - {{ state_attr('sensor.vcloudinfo','url') }} "
|
||||
] | random }}
|
||||
who: 'BearStoneHA'
|
||||
|
||||
- delay: '12:30:00'
|
||||
|
Reference in New Issue
Block a user