mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Updates including wind alerts from Pirate Weather
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.pirateweather_wind_speed
|
||||
above: 24
|
||||
above: 30
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.pirateweather_wind_speed
|
||||
above: 40
|
||||
@@ -22,9 +22,9 @@
|
||||
title: 'VERY HIGH WINDS:'
|
||||
value1: >-
|
||||
{% set windspeed = states.sensor.pirateweather_wind_speed.state | round %}
|
||||
{% if ( windspeed > 25 ) and ( windspeed <= 40 ) %}
|
||||
{% if ( windspeed > 31 ) and ( windspeed <= 45 ) %}
|
||||
HEAVY WINDS!!! Current Wind Speed is : {{windspeed}} mph! Be VERY careful outdoors!
|
||||
{% elif ( windspeed > 40 ) and ( windspeed <= 60 ) %}
|
||||
{% elif ( windspeed > 45 ) and ( windspeed <= 60 ) %}
|
||||
Warning! Wind speed is {{windspeed}} MPH. FIND SHELTER IMMEDIATELY!
|
||||
{% elif ( windspeed > 60 ) %}
|
||||
HURRICANE WINDS. FIND SHELTER, AND STAY INDOORS!
|
||||
@@ -39,7 +39,7 @@
|
||||
data:
|
||||
value1: >
|
||||
{% set windspeed = states.sensor.pirateweather_wind_speed.state | round %}
|
||||
{% if ( windspeed > 25 ) and ( windspeed <= 40 ) %}
|
||||
{% if ( windspeed > 31 ) and ( windspeed <= 40 ) %}
|
||||
HEAVY WINDS!!! Current Wind Speed is : {{windspeed}} mph! Be VERY careful outdoors!
|
||||
{% elif ( windspeed > 40 ) and ( windspeed <= 60 ) %}
|
||||
Warning! Wind speed is {{windspeed}} MPH. FIND SHELTER IMMEDIATELY!
|
||||
@@ -55,7 +55,7 @@
|
||||
data:
|
||||
tweet: >
|
||||
{% set windspeed = states.sensor.pirateweather_wind_speed.state | round %}
|
||||
{% if ( windspeed > 25 ) and ( windspeed <= 40 ) %}
|
||||
{% if ( windspeed > 31 ) and ( windspeed <= 40 ) %}
|
||||
HEAVY WINDS!!! Current Wind Speed is : {{windspeed}} mph! Be VERY careful outdoors! #Florida #Weather (https://amzn.to/2jQLpVQ)
|
||||
{% elif ( windspeed > 40 ) and ( windspeed <= 60 ) %}
|
||||
Current Wind Speed is : {{windspeed}} mph! Warning! #Florida #Weather (https://amzn.to/2jQLpVQ) FIND SHELTER IMMEDIATELY! #Florida #Weather (https://amzn.to/2jQLpVQ)
|
||||
|
Reference in New Issue
Block a user