385 lines
9.9 KiB
YAML
385 lines
9.9 KiB
YAML
- id: '1640833273099'
|
|
alias: NWS Announce Weather Alert for Tornado
|
|
description: ''
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.weatheralerts_active_alerts
|
|
attribute: tornado_warning_count
|
|
above: '0'
|
|
condition: []
|
|
action:
|
|
- service: script.max_brightness
|
|
data: {}
|
|
- service: notify.all_ios
|
|
data:
|
|
title: Tornado Warning - TAKE COVER!
|
|
message: The National Weather Service has issued a Tornado Warning for our area.
|
|
Take Cover NOW!!!!
|
|
- service: notify.tv_notifications
|
|
data:
|
|
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
|
|
data:
|
|
data:
|
|
method: all
|
|
type: announce
|
|
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
|
|
data:
|
|
data:
|
|
method: all
|
|
type: announce
|
|
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
|
|
description: ''
|
|
use_blueprint:
|
|
path: kind3r/cast-and-re-cast-a-lovelace-view-to-a-google-hub.yaml
|
|
input:
|
|
dashboard: lovelace
|
|
player: media_player.living_room_tv
|
|
view: chromecast
|
|
- id: '1640989510134'
|
|
alias: New Years
|
|
description: Flash lights for New Years
|
|
trigger:
|
|
- platform: time
|
|
at: 00:00:00
|
|
condition: []
|
|
action:
|
|
- service: light.turn_off
|
|
target:
|
|
area_id:
|
|
- basement_studio
|
|
- furnace_room
|
|
- kallen_bedroom
|
|
- living_room
|
|
- master_bedroom
|
|
- mud_room
|
|
- nursery
|
|
- upstairs_hallway
|
|
- service: switch.turn_off
|
|
target:
|
|
entity_id:
|
|
- switch.adaptive_lighting_basement_studio
|
|
- switch.adaptive_lighting_kallen_bedroom
|
|
- switch.adaptive_lighting_living_room
|
|
- switch.adaptive_lighting_master_bedroom
|
|
- switch.adaptive_lighting_mud_room
|
|
- switch.adaptive_lighting_nursery
|
|
- switch.adaptive_lighting_upstairs_hallway
|
|
- service: notify.alexa_media
|
|
data:
|
|
target: Living Room Echo Dot
|
|
message: Happy new year! Here's to 2022!
|
|
data:
|
|
method: all
|
|
type: announce
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
- service: light.turn_on
|
|
target:
|
|
entity_id:
|
|
- light.hallway_overhead
|
|
- light.kallen_bedroom_light
|
|
- light.living_room_overhead_1
|
|
- light.living_room_overhead_2
|
|
- light.master_bedroom_front
|
|
- light.master_bedroom_side
|
|
- light.mud_room_overhead
|
|
- light.nursery_light
|
|
data:
|
|
flash: long
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 15
|
|
milliseconds: 0
|
|
- service: light.turn_off
|
|
target:
|
|
area_id:
|
|
- basement_studio
|
|
- furnace_room
|
|
- kallen_bedroom
|
|
- living_room
|
|
- master_bedroom
|
|
- mud_room
|
|
- nursery
|
|
- upstairs_hallway
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 1
|
|
milliseconds: 500
|
|
- service: switch.turn_on
|
|
target:
|
|
entity_id:
|
|
- switch.adaptive_lighting_basement_studio
|
|
- switch.adaptive_lighting_kallen_bedroom
|
|
- switch.adaptive_lighting_living_room
|
|
- switch.adaptive_lighting_master_bedroom
|
|
- switch.adaptive_lighting_mud_room
|
|
- switch.adaptive_lighting_nursery
|
|
- switch.adaptive_lighting_upstairs_hallway
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 1
|
|
milliseconds: 500
|
|
- service: light.turn_on
|
|
target:
|
|
area_id:
|
|
- living_room
|
|
- mud_room
|
|
mode: single
|
|
- id: '1641101491581'
|
|
alias: Family Has Arrived
|
|
description: Runs when family arrives at home
|
|
trigger:
|
|
- platform: state
|
|
entity_id: group.family
|
|
from: not_home
|
|
to: home
|
|
- platform: event
|
|
event_type: ios.action_fired
|
|
event_data:
|
|
actionName: We Are Home
|
|
condition: []
|
|
action:
|
|
- service: script.family_is_home
|
|
mode: single
|
|
- id: '1641102018783'
|
|
alias: Family Has Left
|
|
description: Runs when the family has left home
|
|
trigger:
|
|
- platform: state
|
|
entity_id: group.family
|
|
from: home
|
|
to: not_home
|
|
- platform: event
|
|
event_type: ios.action_fired
|
|
event_data:
|
|
actionName: We Are Leaving
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.guest_mode
|
|
state: 'off'
|
|
action:
|
|
- service: script.family_is_away
|
|
mode: single
|
|
- id: '1641255231416'
|
|
alias: Goodnight
|
|
description: ''
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.action_fired
|
|
event_data:
|
|
actionName: Goodnight
|
|
context: {}
|
|
condition: []
|
|
action:
|
|
- service: button.press
|
|
data: {}
|
|
target:
|
|
entity_id: button.goodnight
|
|
mode: single
|
|
- id: '1641255482975'
|
|
alias: Give Me Darkness
|
|
description: ''
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.action_fired
|
|
event_data:
|
|
actionName: Give Me Darkness
|
|
condition: []
|
|
action:
|
|
- service: script.give_me_darkness
|
|
mode: single
|
|
- id: '1643321652916'
|
|
alias: Time-Based Presence Simulation
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id: group.family
|
|
to: not_home
|
|
for:
|
|
hours: 1
|
|
minutes: 0
|
|
seconds: 0
|
|
condition: []
|
|
action:
|
|
- service: switch.turn_on
|
|
target:
|
|
entity_id: switch.presence_simulation
|
|
mode: single
|
|
- id: '1644510872801'
|
|
alias: iCloud3 Restart
|
|
description: For restarting iCloud3 when my phone goes off the rails
|
|
trigger:
|
|
- platform: state
|
|
entity_id: sensor.tony_s_iphone_info
|
|
to: ●● PAUSED ●●
|
|
condition: []
|
|
action:
|
|
- service: device_tracker.icloud3_restart
|
|
data: {}
|
|
mode: single
|
|
- id: '1644528841392'
|
|
alias: Dining Room Lamp Modes
|
|
description: ''
|
|
trigger:
|
|
- platform: state
|
|
entity_id: input_select.dining_room_lamp_modes
|
|
condition: []
|
|
action:
|
|
- choose:
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.dining_room_lamp_modes
|
|
state: All Bulbs
|
|
sequence:
|
|
- service: switch.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: switch.adaptive_lighting_sleep_mode_dining_room
|
|
- service: scene.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: scene.dining_room_lamp_full
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 0
|
|
milliseconds: 500
|
|
- service: adaptive_lighting.apply
|
|
data:
|
|
entity_id: switch.adaptive_lighting_dining_room
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.dining_room_lamp_modes
|
|
state: 3 Bulb - Dining Room
|
|
sequence:
|
|
- service: scene.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: scene.dining_room_lamp_dining_side
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.dining_room_lamp_modes
|
|
state: 2 Bulb - Wall
|
|
sequence:
|
|
- service: scene.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: scene.dining_room_lamp_wall
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.dining_room_lamp_modes
|
|
state: Nightlight
|
|
sequence:
|
|
- service: switch.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: switch.adaptive_lighting_sleep_mode_dining_room
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.dining_room_lamp_modes
|
|
state: Reset
|
|
sequence:
|
|
- service: input_select.select_option
|
|
data:
|
|
option: All Bulbs
|
|
target:
|
|
entity_id: input_select.dining_room_lamp_modes
|
|
default: []
|
|
mode: queued
|
|
max: 2
|
|
- id: '1645738561470'
|
|
alias: Cast to Basement TV
|
|
description: ''
|
|
use_blueprint:
|
|
path: kind3r/cast-and-re-cast-a-lovelace-view-to-a-google-hub.yaml
|
|
input:
|
|
dashboard: lovelace
|
|
player: media_player.basement_tv_chromecast
|
|
view: chromecast
|
|
- id: '1650223622885'
|
|
alias: Kallen's Sleep Time
|
|
description: ''
|
|
trigger:
|
|
- platform: time
|
|
id: kallen-night
|
|
at: input_datetime.kallen_bedtime
|
|
- platform: time
|
|
id: kallen-morning
|
|
at: input_datetime.kallen_wakeup_time
|
|
condition:
|
|
- condition: state
|
|
entity_id: binary_sensor.people_present
|
|
state: 'on'
|
|
action:
|
|
- choose:
|
|
- conditions:
|
|
- condition: trigger
|
|
id: kallen-night
|
|
sequence:
|
|
- choose:
|
|
- conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.pirateweather_temperature
|
|
below: '40'
|
|
sequence:
|
|
- service: tts.google_say
|
|
data:
|
|
entity_id: media_player.kallen_bedroom_speaker
|
|
message: No fan tonight, too cold outside! Brrrr!
|
|
- delay:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
milliseconds: 0
|
|
- service: input_boolean.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: input_boolean.white_noise_kallen_bedroom
|
|
default:
|
|
- service: tts.google_say
|
|
data:
|
|
entity_id: media_player.kallen_bedroom_speaker
|
|
message: Fan on. Stay cool!
|
|
- service: fan.turn_on
|
|
data: {}
|
|
target:
|
|
entity_id: fan.kallen_fan_socket_1
|
|
- conditions:
|
|
- condition: trigger
|
|
id: kallen-morning
|
|
sequence:
|
|
- service: fan.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: fan.kallen_fan_socket_1
|
|
- service: input_boolean.turn_off
|
|
data: {}
|
|
target:
|
|
entity_id: input_boolean.white_noise_kallen_bedroom
|
|
default: []
|
|
mode: single
|