mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-28 17:09:32 +00:00
Remove all Twitter instances since they went to a pay model.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user