Removing socialblade config

This commit is contained in:
Jeffrey Stone 2021-05-24 11:47:55 -04:00
parent 9d790be4a5
commit dcbe80b358
1 changed files with 15 additions and 14 deletions

View File

@ -12,22 +12,23 @@
- platform: youtube
channel_id: UCipZJ6748kd8TbelSxcvcVg
- platform: socialblade
name: slackerlabs_info
channel_id: UCipZJ6748kd8TbelSxcvcVg
# automation:
# - alias: YouTube Notification - SlackerLabs
# id: 5e751352-067e-4706-978a-2479b6f5fd96
# trigger:
# - platform: state
# entity_id: sensor.slackerlabs
automation:
- alias: YouTube Notification - SlackerLabs
id: 5e751352-067e-4706-978a-2479b6f5fd96
trigger:
- platform: state
entity_id: sensor.slackerlabs
# condition:
# - condition: template
# value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
condition:
- condition: template
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
# action:
action:
- service: script.text_notify
data_template:
who: "jeff"
message: New Video! {{ states('sensor.slackerlabs') }} - {{ state_attr('sensor.slackerlabs','url') }}
# - repeat:
# count: 1
# sequence: