Finally making housewide TTS alerts a thing

This commit is contained in:
2022-06-17 15:01:36 -04:00
parent 2fe24e84fe
commit b74b421a9d
2 changed files with 77 additions and 216 deletions

View File

@ -20,29 +20,23 @@
title: Tornado Warning - TAKE COVER!
message: The National Weather Service has issued a Tornado Warning for our area.
Take Cover NOW!!!!
- service: notify.alexa_media
- service: script.speech_engine
data:
data:
method: all
type: announce
who: everywhere
message: A tornado warning has been issued, please take cover immediately! A
tornado warning has been issued, please take cover immediately! A tornado
warning has been issued, please take cover immediately!
target: Living Room Echo Dot, Basement Echo Dot, Master Bedroom Echo Dot
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: notify.alexa_media
- service: script.speech_engine
data:
data:
method: all
type: announce
who: everywhere
message: A tornado warning has been issued, please take cover immediately! A
tornado warning has been issued, please take cover immediately! A tornado
warning has been issued, please take cover immediately!
target: Living Room Echo Dot, Basement Echo Dot, Master Bedroom Echo Dot
mode: single
- id: '1640916845901'
alias: Cast to Chromecast
@ -417,171 +411,6 @@
- automation.family_has_arrived
- automation.family_has_left
mode: queued
# - id: '1652215901673'
# alias: Master Bedroom Nighttime Protocol
# description: Management of the fan and air conditioner in the master bedroom
# trigger:
# - platform: time
# at: input_datetime.master_bedroom_cooling
# id: master-bedroom-cooling
# - platform: time
# at: input_datetime.master_bedroom_wakeup
# id: master-bedroom-wakeup
# - platform: time
# at: input_datetime.master_bedroom_fan
# id: master-bedroom-fan
# condition:
# - condition: state
# entity_id: input_boolean.vacation_mode
# state: 'off'
# - condition: numeric_state
# entity_id: sensor.tonights_low_temp
# above: '40'
# action:
# - choose:
# - conditions:
# - condition: trigger
# id: master-bedroom-cooling
# sequence:
# - if:
# - condition: numeric_state
# entity_id: sensor.current_forecast
# attribute: overnight_low
# above: '50'
# then:
# - service: climate.turn_on
# data: {}
# target:
# entity_id: climate.master_bedroom_aircon
# - delay:
# hours: 0
# minutes: 0
# seconds: 10
# milliseconds: 0
# - service: climate.set_hvac_mode
# data:
# hvac_mode: cool
# - delay:
# hours: 0
# minutes: 0
# seconds: 5
# milliseconds: 0
# - service: climate.set_temperature
# data:
# temperature: 72
# target:
# entity_id: climate.master_bedroom_aircon
# - parallel:
# - service: script.text_notify_tony
# data:
# title: AC Schedule Activated
# message: '"Master bedroom AC temp has been set as scheduled based on
# tonight''s forecast low"'
# - service: script.text_notify_tina
# data:
# title: AC Schedule Activated
# message: '"Master bedroom AC temp has been set as scheduled based on
# tonight''s forecast low"'
# else:
# - service: climate.turn_on
# data: {}
# target:
# entity_id: climate.master_bedroom_aircon
# - service: climate.set_hvac_mode
# data:
# hvac_mode: fan_only
# target:
# entity_id: climate.master_bedroom_aircon
# - delay:
# hours: 0
# minutes: 0
# seconds: 5
# milliseconds: 0
# - parallel:
# - service: script.text_notify_tony
# data:
# title: AC Schedule Skipped
# message: Too cold outside, AC running fan only
# - service: script.text_notify_tina
# data:
# title: AC Schedule Skipped
# message: Too cold outside, AC running fan only
# - conditions:
# - condition: trigger
# id: master-bedroom-fan
# sequence:
# - if:
# - condition: numeric_state
# entity_id: sensor.current_forecast
# attribute: overnight_low
# above: '40'
# then:
# - service: switch.turn_on
# data: {}
# target:
# entity_id: switch.master_bedroom_fan_socket_1
# - parallel:
# - service: script.text_notify_tony
# data:
# title: Fan Schedule Activated
# message: '"Master bedroom fan has been activated, as scheduled based
# on tonight''s forecast low"'
# - service: script.text_notify_tina
# data:
# title: Fan Schedule Activated
# message: '"Master bedroom fan has been activated, as scheduled based
# on tonight''s forecast low"'
# - conditions:
# - condition: trigger
# id: master-bedroom-wakeup
# sequence:
# - service: switch.turn_off
# data: {}
# target:
# entity_id:
# - switch.master_bedroom_fan_socket_1
# - switch.master_bedroom_echo_dot_do_not_disturb_switch
# - if:
# - condition: numeric_state
# entity_id: sensor.todays_high_temp
# above: '80'
# then:
# - service: climate.turn_on
# data: {}
# target:
# entity_id: climate.master_bedroom_aircon
# - delay:
# hours: 0
# minutes: 0
# seconds: 10
# milliseconds: 0
# - service: climate.set_hvac_mode
# data:
# hvac_mode: cool
# - delay:
# hours: 0
# minutes: 0
# seconds: 5
# milliseconds: 0
# - service: climate.set_temperature
# data:
# temperature: 75
# target:
# entity_id: climate.master_bedroom_aircon
# else:
# - service: climate.set_hvac_mode
# data:
# hvac_mode: 'off'
# target:
# entity_id: climate.master_bedroom_aircon
# default:
# - service: script.text_notify_tony
# data:
# title: Master Bedroom Info
# message: '"Today''s wakeup time is set to {{ states(''input_datetime.master_bedroom_wakeup'')
# }} and tonight''s cooling is set to start at {{ states(''input_datetime.master_bedroom_cooling'')
# }}"'
# mode: queued
- id: '1654547257475'
alias: Battery Monitoring
description: Monitor all battery-powered things for low battery states