Remove all Twitter instances since they went to a pay model.

This commit is contained in:
CCOSTAN
2023-10-21 18:39:19 +00:00
parent 668b8e3c87
commit 7954ee4c7c
27 changed files with 5 additions and 1519 deletions

View File

@@ -70,29 +70,6 @@ automation:
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home. Please make sure everyone is inside the house."
call_window_check: 1
call_garage_check: 1
- delay:
minutes: 60
- service: script.tweet_engine_image
data:
tweet: >
{{ [
"{{ states('sensor.blitzortung_lightning_counter') }} lightning strike(s) have been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home.",
"{{ states('sensor.blitzortung_lightning_counter') }} lightning strike(s) have been recorded {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} miles by the house.",
"Yikes! {{ states('sensor.blitzortung_lightning_counter') }} lightning strike(s) were way too close; ({{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} miles too close in fact). Time to get everyone inside."
] | random +
[
" (https://github.com/CCOSTAN/Home-AssistantConfig/issues/392)",
" Adding a Lightning Sensor to Home Assistant (https://www.vcloudinfo.com/2020/08/adding-a-lightning-sensor-to-home-assistant.html)",
] | random }}
image: >-
{{ [
"/config/www/custom_ui/floorplan/images/youtube/episodes/LightningSensor.png",
"/config/www/custom_ui/floorplan/images/branding/lightning_1.png",
"/config/www/custom_ui/floorplan/images/branding/lightning_2.png",
"/config/www/custom_ui/floorplan/images/branding/lightning_3.png"
] | random }}
- delay:
minutes: 60