Updated #750 - Adding collapable IOS notifications

This commit is contained in:
ccostan
2020-05-29 17:50:36 -04:00
parent ae2790c0c6
commit 8c466d50be
15 changed files with 34 additions and 37 deletions

View File

@@ -25,6 +25,7 @@
data_template:
who: 'parents'
value1: "The {{ trigger.to_state.attributes.friendly_name }} has been {{ (trigger.to_state.state)|replace('_', ' ') }}."
apns_id: 'Doors'
- service: input_boolean.turn_on
entity_id: input_boolean.alert_mode

View File

@@ -3,7 +3,7 @@
###################################
- alias: Login Failure
trigger:
platform: template
value_template: "{{ states('persistent_notification.httplogin') != 'unknown' }}"
@@ -15,6 +15,7 @@
value2: 'There was a Hack attempt!'
value3: 'Go Check the GUI for details.'
who: 'carlo'
apns_id: 'Bad-IP'
- service: script.tweet_engine_image
data_template:

View File

@@ -5,7 +5,7 @@
##############################################################################
- alias: "NOTIFY IF IP CHANGES"
trigger:
- platform: state
entity_id: sensor.ipchange
@@ -18,6 +18,7 @@
value2: "New IP: {{ states('sensor.exteral_ip') }}"
value3: ' - Be sure to Change DNS!'
who: 'carlo'
apns_id: 'ip-change'
- service: script.tweet_engine
data_template:

View File

@@ -13,6 +13,7 @@
title: 'Home Assistant StartUp'
value1: 'Home Assistant is Up and Running!'
who: 'carlo'
apns_id: 'Startup'
- service: light.turn_off
entity_id: group.hallway_lights

View File

@@ -4,7 +4,7 @@
###################################
- alias: Garadget Reflection Rates
trigger:
- platform: numeric_state
entity_id: sensor.large_garage_reflection_rate
@@ -30,11 +30,12 @@
who: "parents"
content_type: 'jpeg'
url: !secret camera2_snapshot
apns_id: 'Garadget'
##############################################################################
- alias: Is the Garage door Open at night - Checks every 30 minutes or 5 minutes after we drive away.
trigger:
- platform: time_pattern
minutes: '/45'
@@ -82,6 +83,7 @@
value2: "Large: {{ states('cover.large_garage')}}"
who: "family"
camera_entity: "camera.camera2"
apns_id: 'Garadget'
- service: script.speech_engine
data_template:

View File

@@ -2,7 +2,7 @@
## LOG Medicine
###################################
- alias: 'Log Medicine Activity'
trigger:
- platform: event
event_type: medicine_dash
@@ -32,6 +32,7 @@
title: 'Medicine Reminder Completed'
value1: 'Carlo Took Medicine today.'
who: 'parents'
apns_id: 'Medicine'
- delay:
minutes: 1
- service: automation.turn_on