mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-14 07:46:59 +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)
|
||||
|
@@ -13,6 +13,8 @@
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
- person.paige
|
||||
- person.justin
|
||||
from: 'not_home'
|
||||
to: 'home'
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 05:50am.
|
||||
## Stuff that needs to happen at 08:00am.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Timed 0630'
|
||||
@@ -7,7 +7,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '05:50:00'
|
||||
at: '08:00:00'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
|
@@ -7,7 +7,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '07:00:00'
|
||||
at: '08:30:00'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
|
Reference in New Issue
Block a user