Skip to content

Commit

Permalink
1-23-20 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kartcon committed Jan 24, 2020
1 parent d879cde commit e467b0f
Show file tree
Hide file tree
Showing 95 changed files with 6,428 additions and 1,752 deletions.
28 changes: 16 additions & 12 deletions automations/alarm_panel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
- service: light.turn_on
entity_id:
- group.alarm_emergency
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data_template:
title: "Siren Activated!"
message: At {{now().strftime("%m/%d/%Y %H:%M:%S")}} the Alarm sounded. Please check all doors and windows.
Expand All @@ -408,7 +408,7 @@
entity_id: input_boolean.alarm_tripped
# --- Testing an Actionable Notification Here
# --- See: https://www.home-assistant.io/docs/ecosystem/ios/notifications/actions/
- service: notify.ios_group_art_only
- service: notify.mobile_group_art_only
data:
message: "Siren Activated!"
data:
Expand Down Expand Up @@ -445,6 +445,9 @@
data_template:
title: "Siren Silenced"
message: At {{now().strftime("%m/%d/%Y %H:%M:%S")}} the Alarm was silenced.
- delay: 0:00:05
- service: input_boolean.turn_off
entity_id: input_boolean.alarm_silence
#
##########################################################
## Pre Warn the Alarm Siren
Expand Down Expand Up @@ -572,7 +575,7 @@
message: >-
The alarm has been changed to Armed Home at {{now().strftime("%m/%d/%Y %H:%M:%S")}}.
- service: script.turn_on
entity_id: script.blink_lights_tv
entity_id: script.blink_tv_lights
- delay: 0:00:03
- service: notify.lg_tv
data:
Expand All @@ -581,7 +584,7 @@
- condition: state
entity_id: input_boolean.auto_arm_notifications
state: 'on'
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data:
title: "Alarm Set"
message: "The alarm system has been set to Armed Home."
Expand Down Expand Up @@ -615,7 +618,7 @@
- condition: state
entity_id: input_boolean.auto_arm_notifications
state: 'on'
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data:
title: "Armed Away"
message: "The alarm system has been set to Away."
Expand Down Expand Up @@ -648,7 +651,7 @@
- condition: state
entity_id: input_boolean.disarm_notifications
state: 'on'
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data:
title: "Alarm Disarmed"
message: "The alarm system has been disarmed."
Expand Down Expand Up @@ -687,7 +690,7 @@
# {{ sensor.name }} sensor.
# {% endif -%}
# {%- endfor -%}
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data:
title: "Security Alert!"
message: "The alarm system has been tripped."
Expand Down Expand Up @@ -723,8 +726,8 @@
data:
entity_id: light.kitchen_pendants_106, light.kitchen_can_lights_49
- service: script.turn_on
entity_id: script.blink_lights_porch
- service: notify.ios_group_art_steff
entity_id: script.blink_porch_lights
- service: notify.mobile_group_art_steff
data_template:
title: "Pet Sitter Arrived!"
message: At {{now().strftime("%m/%d/%Y %H:%M:%S")}} the Pet Sitter Arived.
Expand All @@ -740,11 +743,12 @@
volume_level: '0.8'
- delay: '00:00:02'
- service: notify.alexa_media
data_template:
data:
target:
- media_player.kitchen_echo
data:
type: announce
method: speak
message: "The alarm has been disabled for sixty minutes. Please remember to press the lock button when leaving."
- delay: '01:00:00'
- service: script.write_to_log
Expand Down Expand Up @@ -779,7 +783,7 @@
entity_id: script.check_open_door_status
- service: script.turn_on
entity_id: script.set_alarm_armed_away
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data_template:
title: "Front Door Locked - Vacation Mode!"
message: At {{now().strftime("%m/%d/%Y %H:%M:%S")}} - Front Door Locked - Vacation Mode.
Expand All @@ -790,7 +794,7 @@
At {{now().strftime("%m/%d/%Y %H:%M:%S")}} - Front Door Locked - Vacation Mode.
- delay: '00:00:05'
- service: script.turn_on
entity_id: script.blink_lights_porch
entity_id: script.blink_porch_lights
- service: light.turn_off
data:
entity_id: light.kitchen_pendants_106, light.kitchen_can_lights_49
Expand Down
34 changes: 29 additions & 5 deletions automations/doors_locks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- service: script.turn_on
entity_id: script.reset_two_car_gar_sensor
- service: script.turn_on
entity_id: script.blink_lights_tv
entity_id: script.blink_tv_lights
- delay: 0:00:03
- service: notify.lg_tv
data:
Expand All @@ -49,7 +49,7 @@
- service: script.turn_on
entity_id: script.close_garage_door2
- service: script.turn_on
entity_id: script.blink_lights_tv
entity_id: script.blink_tv_lights
- delay: 0:00:03
- service: notify.lg_tv
data:
Expand All @@ -72,7 +72,7 @@
action:
- service: script.turn_on
entity_id: script.lock_front_door
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data:
title: Front Door Locked
message: No One Home - Lock Front Door Automation Triggered
Expand All @@ -93,7 +93,7 @@
action:
- service: script.turn_on
entity_id: script.close_garage_door1
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data:
title: Garage Door 1 Closed
message: No One Home - Close Garage Door 1 Automation Triggered
Expand All @@ -114,7 +114,7 @@
action:
- service: script.turn_on
entity_id: script.close_garage_door2
- service: notify.ios_group_art_steff
- service: notify.mobile_group_art_steff
data:
title: Garage Door 2 Closed
message: No One Home - Close Garage Door 2 Automation Triggered
Expand Down Expand Up @@ -164,3 +164,27 @@
data:
entity_id: binary_sensor.two_car_gar_sensor_65
#
#################################################################
# Unlock the Front Door when arriving home
#################################################################
- id: unlock_front_door_arriving_home
alias: Unlock Front Door Arriving Home
trigger:
platform: state
entity_id: input_boolean.no_one_home
from: 'on'
to: 'off'
condition:
- condition: state
entity_id: lock.front_door_bolt_241
state: 'locked'
action:
- wait_template: "{{ states.alarm_control_panel.ha_alarm.state == 'disarmed' }}"
timeout: '00:01:00'
continue_on_timeout: 'false'
- service: script.turn_on
entity_id: script.welcome_home
- service: notify.mobile_group_art_steff
data:
title: Front Door Unlocked
message: Welcome Home - Front Door Unlocked
2 changes: 1 addition & 1 deletion automations/fans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
- service: script.write_to_log
data_template:
entity_id: light.office_fan_224
message: 'Outside Temperature is {{ states.sensor.dark_sky_temperature.state }}º. Office Fan turned on.'
message: "Upstairs Temperature is {{states('sensor.tstat2_actual_temp')|float}}º. Office Fan turned on."
#
#################################################################
# Garage Fan On when outside temp >85
Expand Down
Loading

0 comments on commit e467b0f

Please sign in to comment.