Updates including wind alerts from Pirate Weather

This commit is contained in:
CCOSTAN 2023-10-02 18:55:06 +00:00
parent d4c5a40f3c
commit 3dbf300e1b
12 changed files with 35 additions and 25 deletions

View File

@ -1 +1 @@
2023.8.1
2023.9.3

View File

@ -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)

View File

@ -13,6 +13,8 @@
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
from: 'not_home'
to: 'home'

View File

@ -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

View File

@ -7,7 +7,7 @@
mode: single
trigger:
- platform: time
at: '07:00:00'
at: '08:30:00'
condition:
- condition: state

View File

@ -94,14 +94,16 @@ logbook:
logger: !include logger.yaml
recorder: !include recorder.yaml
panel_iframe:
dashy:
title: 'Dashy'
icon: 'mdi:dashboard'
url: 'http://192.168.10.10:4000/'
# zwave:
# usb_path: /dev/ttyACM0
# config_path: /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
# nest:
# client_id: !secret nest_client_id
# client_secret: !secret nest_client_secret
tts:
- platform: amazon_polly
aws_access_key_id: !secret aws_access_key_ID

View File

@ -34,6 +34,8 @@ automation:
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
from: 'not_home'
to: 'home'
@ -41,6 +43,8 @@ automation:
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
to: 'not_home'
from: 'home'

View File

@ -4,6 +4,7 @@
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Changing the way we call these routines.. no longer using routines.. using custom commands via ALEXA Media Player.
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/366
# Noon No longer supported.
#-------------------------------------------
##################################################
@ -11,13 +12,13 @@
## Called in the AWAY / interior_off script to shut all devices down.
##################################################
script:
noon_lights_off:
alias: 'Bathroom Noon Lights Off'
sequence:
# script:
# noon_lights_off:
# alias: 'Bathroom Noon Lights Off'
# sequence:
- service: media_player.play_media
data:
entity_id: media_player.master_bathroom
media_content_id: 'turn off bathroom lights'
media_content_type: custom
# - service: media_player.play_media
# data:
# entity_id: media_player.master_bathroom
# media_content_id: 'turn off bathroom lights'
# media_content_type: custom

View File

@ -11,6 +11,7 @@ exclude:
- device_tracker
entity_globs:
- sensor.*uptime*
- sensor.vpn_client_*
entities:
- automation.update_garage_get_status
- binary_sensor.camera1_motion_sensor

View File

@ -13,4 +13,4 @@ interior_off:
- service: script.switch_turn_off_all
- service: script.paige_lights_off # C by GE Lights (https://amzn.to/30w3UWy)
- service: script.garage_lights_off # C by GE Lights (https://amzn.to/30w3UWy)
- service: script.noon_lights_off # Noon Home Smart Lights (https://amzn.to/3fOIPx6)
# - service: script.noon_lights_off # Noon Home Smart Lights (https://amzn.to/3fOIPx6)

File diff suppressed because one or more lines are too long