Syncing changes done for recent youtube videos :)
This commit is contained in:
parent
2957c7acb3
commit
d3268fa2f9
|
@ -1,6 +1,6 @@
|
||||||
lockdown_issue:
|
lockdown_issue:
|
||||||
name: Issue Prevented Lockdown...Please Check
|
name: Issue Preventing Lockdown...Please Check
|
||||||
done_message: Issue Resolved...Anchorage House Ready
|
done_message: Issue Resolved...Anchorage House Ready to Arm
|
||||||
entity_id: input_boolean.lockdown_issue
|
entity_id: input_boolean.lockdown_issue
|
||||||
state: 'on'
|
state: 'on'
|
||||||
repeat: 2
|
repeat: 2
|
||||||
|
|
|
@ -1,39 +1,14 @@
|
||||||
automations:
|
automations:
|
||||||
name: Automations
|
name: Automations
|
||||||
icon: mdi:home-automation
|
icon: mdi:home-automation
|
||||||
trash_notification:
|
|
||||||
name: Trash Notification
|
|
||||||
icon: mdi:telegram
|
|
||||||
welcome_greeting:
|
welcome_greeting:
|
||||||
name: Welcome Greeting
|
name: Welcome Greeting
|
||||||
icon: mdi:speaker-wireless
|
icon: mdi:speaker-wireless
|
||||||
lockdown_notification:
|
|
||||||
name: Lockdown Notifications
|
|
||||||
icon: mdi:speaker-wireless
|
|
||||||
garage_notifications:
|
|
||||||
name: Garage Notifications
|
|
||||||
icon: mdi:speaker-wireless
|
|
||||||
tornado_alarm:
|
|
||||||
name: Tornado Alarm
|
|
||||||
icon: mdi:speaker-wireless
|
|
||||||
tstorm_alarm:
|
|
||||||
name: T-Storm Alarm
|
|
||||||
icon: mdi:speaker-wireless
|
|
||||||
text_notify_jeff:
|
|
||||||
name: Send Jeff Texts
|
|
||||||
icon: mdi:telegram
|
|
||||||
text_notify_kat:
|
|
||||||
name: Send Kat Texts
|
|
||||||
icon: mdi:telegram
|
|
||||||
audible_notifications:
|
|
||||||
name: Audible Notifications
|
|
||||||
icon: mdi:speaker-wireless
|
|
||||||
presence_notifications_jeff:
|
|
||||||
name: Send Jeff Presence Texts
|
|
||||||
icon: mdi:telegram
|
|
||||||
presence_notifications_kat:
|
|
||||||
name: Send Kat Presence Texts
|
|
||||||
icon: mdi:telegram
|
|
||||||
kat_heading_home:
|
kat_heading_home:
|
||||||
name: Kat Heading Home
|
name: Kat Heading Home
|
||||||
icon: mdi:car
|
icon: mdi:car
|
||||||
|
@ -55,18 +30,7 @@ kat_travel_monitor:
|
||||||
jeff_travel_monitor:
|
jeff_travel_monitor:
|
||||||
name: Jeff Travel Monitor
|
name: Jeff Travel Monitor
|
||||||
icon: mdi:car
|
icon: mdi:car
|
||||||
notifications_audio:
|
|
||||||
name: Audio Notifications
|
|
||||||
icon: mdi:speaker-wireless
|
|
||||||
text_notifications:
|
|
||||||
name: Text Notifications
|
|
||||||
icon: mdi:telegram
|
|
||||||
presence_text_notifications:
|
|
||||||
name: Presence Texts
|
|
||||||
icon: mdi:telegram
|
|
||||||
presence_audio_notifications:
|
|
||||||
name: Presence Audio
|
|
||||||
icon: mdi:speaker-wireless
|
|
||||||
weather_reports:
|
weather_reports:
|
||||||
name: Weather Info
|
name: Weather Info
|
||||||
traffic_reports:
|
traffic_reports:
|
||||||
|
|
|
@ -5,8 +5,67 @@
|
||||||
# @description : All the Lightning specific configs.
|
# @description : All the Lightning specific configs.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
input_number:
|
||||||
|
master_bedroom_wakeup:
|
||||||
|
name: Master Bedroom Wakeup Lighting
|
||||||
|
initial: 8.5
|
||||||
|
min: 8.5
|
||||||
|
max: 255
|
||||||
|
step: 8.5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
# MAster Bedroom lights turn on if dark and no other lights already on.
|
||||||
|
- id: e1cb39dc-0423-11eb-adc1-0242ac120002
|
||||||
|
alias: Master Bedroom Lights Needed
|
||||||
|
initial_state: true
|
||||||
|
trigger:
|
||||||
|
- entity_id: binary_sensor.master_bedroom_motion
|
||||||
|
from: 'off'
|
||||||
|
platform: state
|
||||||
|
to: 'on'
|
||||||
|
condition:
|
||||||
|
- below: 13
|
||||||
|
condition: numeric_state
|
||||||
|
entity_id: sensor.master_bedroom_illuminance
|
||||||
|
- condition: time
|
||||||
|
after: '07:30:00'
|
||||||
|
before: '22:00:00'
|
||||||
|
- condition: state
|
||||||
|
entity_id: group.master_bedroom
|
||||||
|
state: 'off'
|
||||||
|
action:
|
||||||
|
- service: script.master_bedroom_lights_w_level
|
||||||
|
data:
|
||||||
|
level: 255
|
||||||
|
|
||||||
|
# Increase the light level in master bedroom from 15% to 100% over 15 minutes.
|
||||||
|
- id: 1feafed1-0de9-44a4-a2f0-e693bc637ea1
|
||||||
|
alias: Master bedroom Wake Up
|
||||||
|
initial_state: true
|
||||||
|
trigger:
|
||||||
|
- platform: time
|
||||||
|
at: 06:15:00
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.vacation_mode
|
||||||
|
state: 'off'
|
||||||
|
action:
|
||||||
|
- service: script.turn_on
|
||||||
|
entity_id: script.master_bedroom_morning_wakeup_lighting
|
||||||
|
- delay: 00:33:00
|
||||||
|
- service: script.turn_off
|
||||||
|
entity_id: script.master_bedroom_morning_wakeup_lighting
|
||||||
|
- service: input_number.set_value
|
||||||
|
data_template:
|
||||||
|
entity_id: input_number.master_bedroom_wakeup
|
||||||
|
value: 8.5
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.master_bedroom_on
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Kitchen lights needed when dark and there is motion
|
# Kitchen lights needed when dark and there is motion
|
||||||
- id: e1cb3d56-0423-11eb-adc1-0242ac120002
|
- id: e1cb3d56-0423-11eb-adc1-0242ac120002
|
||||||
|
@ -292,6 +351,44 @@ script:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.theater_bright
|
entity_id: scene.theater_bright
|
||||||
|
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
master_bedroom_lights_w_level:
|
||||||
|
sequence:
|
||||||
|
- service: light.turn_on
|
||||||
|
entity_id: light.jeff_lamp_level_light_color_on_off
|
||||||
|
data:
|
||||||
|
brightness: >
|
||||||
|
{{ level | int }}
|
||||||
|
color_temp: 369
|
||||||
|
- service: light.turn_on
|
||||||
|
entity_id: light.tower_spotlight_level_on_off
|
||||||
|
data:
|
||||||
|
brightness: >
|
||||||
|
{{ level | int }}
|
||||||
|
color_temp: 369
|
||||||
|
- service: light.turn_on
|
||||||
|
entity_id: light.kat_lamp
|
||||||
|
data:
|
||||||
|
brightness: >
|
||||||
|
{{ level | int }}
|
||||||
|
|
||||||
|
|
||||||
|
master_bedroom_morning_wakeup_lighting:
|
||||||
|
sequence:
|
||||||
|
- repeat:
|
||||||
|
while:
|
||||||
|
- condition: template
|
||||||
|
value_template: '{{ states("input_number.master_bedroom_wakeup") | int < 256 }}'
|
||||||
|
sequence:
|
||||||
|
- service: script.master_bedroom_lights_w_level
|
||||||
|
data:
|
||||||
|
level: '{{ states("input_number.master_bedroom_wakeup") }}'
|
||||||
|
- service: input_number.increment
|
||||||
|
entity_id: input_number.master_bedroom_wakeup
|
||||||
|
- delay: 00:01:00
|
||||||
|
- service: input_number.set_value
|
||||||
|
data:
|
||||||
|
entity_id: input_number.master_bedroom_wakeup
|
||||||
|
value: 8.5
|
||||||
|
|
|
@ -50,6 +50,50 @@ tts:
|
||||||
voice: Brian
|
voice: Brian
|
||||||
cache: True
|
cache: True
|
||||||
|
|
||||||
|
input_boolean:
|
||||||
|
text_notify_jeff:
|
||||||
|
name: Send Texts to Jeff
|
||||||
|
icon: mdi:telegram
|
||||||
|
text_notify_kat:
|
||||||
|
name: Send Texts to Kat
|
||||||
|
icon: mdi:telegram
|
||||||
|
text_notify_skylar:
|
||||||
|
name: Send Texts Skylar
|
||||||
|
icon: mdi:telegram
|
||||||
|
text_notify_parents:
|
||||||
|
name: Send Texts to Parents
|
||||||
|
icon: mdi:telegram
|
||||||
|
text_notifications:
|
||||||
|
name: Text Notifications
|
||||||
|
icon: mdi:telegram
|
||||||
|
presence_text_notifications:
|
||||||
|
name: Presence Texts
|
||||||
|
icon: mdi:telegram
|
||||||
|
notifications_audio:
|
||||||
|
name: Audio Notifications
|
||||||
|
icon: mdi:speaker-wireless
|
||||||
|
presence_audio_notifications:
|
||||||
|
name: Presence Audio
|
||||||
|
icon: mdi:speaker-wireless
|
||||||
|
audible_notifications:
|
||||||
|
name: Audible Notifications
|
||||||
|
icon: mdi:speaker-wireless
|
||||||
|
presence_notifications_jeff:
|
||||||
|
name: Send Jeff Presence Texts
|
||||||
|
icon: mdi:telegram
|
||||||
|
presence_notifications_kat:
|
||||||
|
name: Send Kat Presence Texts
|
||||||
|
icon: mdi:telegram
|
||||||
|
lockdown_notification:
|
||||||
|
name: Lockdown Notifications
|
||||||
|
icon: mdi:speaker-wireless
|
||||||
|
garage_notifications:
|
||||||
|
name: Garage Notifications
|
||||||
|
icon: mdi:speaker-wireless
|
||||||
|
trash_notification:
|
||||||
|
name: Trash Notification
|
||||||
|
icon: mdi:telegram
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
- platform: ios
|
- platform: ios
|
||||||
- name: all_ios
|
- name: all_ios
|
||||||
|
@ -182,31 +226,56 @@ script:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.text_notifications
|
entity_id: input_boolean.text_notifications
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- service: >
|
- choose:
|
||||||
{% if who == 'jeff' %}
|
- conditions:
|
||||||
notify.jeff_ios
|
- condition: template
|
||||||
{% elif who == 'kat' %}
|
value_template: '{{ who == "jeff"}}'
|
||||||
notify.kat_ios
|
- condition: state
|
||||||
{% elif who == 'skylar' %}
|
entity_id: input_boolean.text_notify_jeff
|
||||||
notify.skylar_ios
|
state: 'on'
|
||||||
{% elif who == 'parents' %}
|
sequence:
|
||||||
notify.ios_parents
|
- service: notify.jeff_ios
|
||||||
{% else %}
|
data:
|
||||||
notify.all_ios
|
title: '{{ title }}'
|
||||||
{% endif %}
|
message: '{{ message }}'
|
||||||
|
- conditions:
|
||||||
|
- condition: template
|
||||||
|
value_template: '{{ who == "kat"}}'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.text_notify_kat
|
||||||
|
state: 'on'
|
||||||
|
sequence:
|
||||||
|
- service: notify.kat_ios
|
||||||
|
data:
|
||||||
|
title: '{{ title }}'
|
||||||
|
message: '{{ message }}'
|
||||||
|
- conditions:
|
||||||
|
- condition: template
|
||||||
|
value_template: '{{ who == "skylar"}}'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.text_notify_skylar
|
||||||
|
state: 'on'
|
||||||
|
sequence:
|
||||||
|
- service: notify.skylar_ios
|
||||||
|
data:
|
||||||
|
title: '{{ title }}'
|
||||||
|
message: '{{ message }}'
|
||||||
|
- conditions:
|
||||||
|
- condition: template
|
||||||
|
value_template: '{{ who == "parents"}}'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.text_notify_parents
|
||||||
|
state: 'on'
|
||||||
|
sequence:
|
||||||
|
- service: notify.parents_ios
|
||||||
|
data:
|
||||||
|
title: '{{ title }}'
|
||||||
|
message: '{{ message }}'
|
||||||
|
default:
|
||||||
|
- service: notify.all_ios
|
||||||
data:
|
data:
|
||||||
title: '{{ title }}'
|
title: '{{ title }}'
|
||||||
message: '{{ message }}'
|
message: '{{ message }}'
|
||||||
#data:
|
|
||||||
# attachment:
|
|
||||||
# url: '{{ url }}'
|
|
||||||
# content-type: '{{ content_type }}'
|
|
||||||
# hide-thumbnail: false
|
|
||||||
# push:
|
|
||||||
# sound: '{{ ios_sound }}'
|
|
||||||
# badge: 0
|
|
||||||
# category: '{{ ios_category }}'
|
|
||||||
# entity_id: '{{ camera_entity }}'
|
|
||||||
|
|
||||||
text_alert:
|
text_alert:
|
||||||
sequence:
|
sequence:
|
||||||
|
|
|
@ -458,7 +458,7 @@ automation:
|
||||||
{% set is_are = ' are ' %}
|
{% set is_are = ' are ' %}
|
||||||
{% set has_have = ' have ' %}
|
{% set has_have = ' have ' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- macro greeting_sentence(person, is_are) -%}
|
{%- macro greeting_sentence(person, is_are, has_have) -%}
|
||||||
{{ [
|
{{ [
|
||||||
person ~ has_have + " arrived.",
|
person ~ has_have + " arrived.",
|
||||||
person ~ is_are + " in the neighborhood.",
|
person ~ is_are + " in the neighborhood.",
|
||||||
|
@ -474,11 +474,11 @@ automation:
|
||||||
"I know a secret! " ~ person ~ is_are +" home!",
|
"I know a secret! " ~ person ~ is_are +" home!",
|
||||||
"Just a quick announcement. " ~ person ~ has_have +" arrived!",
|
"Just a quick announcement. " ~ person ~ has_have +" arrived!",
|
||||||
"Hey" ~ person + "! High Five! Glad you are finally home.",
|
"Hey" ~ person + "! High Five! Glad you are finally home.",
|
||||||
"Just a quick announcement. " ~ person ~has_have + " arrived!",
|
"Just a quick announcement. " ~ person ~ has_have + " arrived!",
|
||||||
person ~ has_have + " finally made it home."
|
person ~ has_have + " finally made it home."
|
||||||
] | random }}
|
] | random }}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
{{greeting_sentence(person)}}
|
{{greeting_sentence(person, is_are, has_have)}}
|
||||||
- service: group.set
|
- service: group.set
|
||||||
data:
|
data:
|
||||||
object_id: "arriving"
|
object_id: "arriving"
|
||||||
|
@ -543,10 +543,8 @@ script:
|
||||||
- service: script.appliances_off
|
- service: script.appliances_off
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.lights_out
|
entity_id: scene.lights_out
|
||||||
- service: script.security_check_garage
|
- service: input_boolean.turn_on
|
||||||
- service: script.security_check_zones
|
entity_id: input_boolean.sentry_mode
|
||||||
- service: script.lockdown
|
|
||||||
- service: script.lockdown_issue
|
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.all_fans_off
|
entity_id: scene.all_fans_off
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue