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

@@ -22,7 +22,7 @@ homeassistant:
"sensor.*_security_state":
hidden: True
homebridge_hidden: true
customize:
binary_sensor.hallway_nest_protect_kids_hallway_online:
@@ -83,7 +83,7 @@ group:
#-------------------------------------------
automation:
- alias: Nest protect emergency
trigger:
platform: state
entity_id:
@@ -125,7 +125,7 @@ automation:
tweet: "An emergency has been detected on {{ trigger.to_state.attributes.friendly_name }} @CCostan (https://www.vcloudinfo.com/2017/06/psa-check-out-your-smoke-detectors-once.html)"
- alias: Nest Protect Offline Notify
trigger:
platform: state
entity_id:
@@ -152,6 +152,7 @@ automation:
data_template:
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
who: "parents"
apns_id: 'Nest-Protect'
- service: script.tweet_engine
data: