From 3480711eda50378f88fa988092e642e5104218ef Mon Sep 17 00:00:00 2001 From: ccostan Date: Sun, 7 Jun 2020 16:23:56 -0400 Subject: [PATCH] Grouping more of the notifications into either important or informational. #750 --- config/automation/Speech/door_opened.yaml | 2 +- config/automation/System/bad_logins.yaml | 2 +- config/automation/System/update_notification.yaml | 2 +- config/automation/Timed_Triggers/startup_notification.yaml | 2 +- config/automation/garadget.yaml | 4 ++-- config/packages/juicenet.yaml | 6 +++--- config/packages/neato.yaml | 2 +- config/packages/powerwall.yaml | 2 +- config/packages/space.yaml | 2 +- config/script/notify_engine.yaml | 2 +- config/script/skybell_pressed.yaml | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/automation/Speech/door_opened.yaml b/config/automation/Speech/door_opened.yaml index ed2ab99a..2f97cdbc 100755 --- a/config/automation/Speech/door_opened.yaml +++ b/config/automation/Speech/door_opened.yaml @@ -25,7 +25,7 @@ data_template: who: 'parents' value1: "The {{ trigger.to_state.attributes.friendly_name }} has been {{ (trigger.to_state.state)|replace('_', ' ') }}." - apns_id: 'Doors' + apns_id: 'information' - service: input_boolean.turn_on entity_id: input_boolean.alert_mode diff --git a/config/automation/System/bad_logins.yaml b/config/automation/System/bad_logins.yaml index 2a78f597..70b5bd75 100755 --- a/config/automation/System/bad_logins.yaml +++ b/config/automation/System/bad_logins.yaml @@ -15,7 +15,7 @@ value2: 'There was a Hack attempt!' value3: 'Go Check the GUI for details.' who: 'carlo' - apns_id: 'Bad-IP' + apns_id: 'information' - service: script.tweet_engine_image data_template: diff --git a/config/automation/System/update_notification.yaml b/config/automation/System/update_notification.yaml index 313dfcb2..e7c21edf 100755 --- a/config/automation/System/update_notification.yaml +++ b/config/automation/System/update_notification.yaml @@ -18,7 +18,7 @@ title: 'Home Assistant {{ states.binary_sensor.updater.attributes.newest_version }} ' value1: "Home Assistant {{ states.binary_sensor.updater.attributes.newest_version }} is now available." who: 'carlo' - apns_id: HAUpdate + apns_id: 'information' - service: ifttt.trigger data_template: {"event":"GitPost", "value1":"Home Assistant {{ states.binary_sensor.updater.attributes.newest_version }} is now available.", "value2":"{{ states.binary_sensor.updater.attributes.newest_version }} "} diff --git a/config/automation/Timed_Triggers/startup_notification.yaml b/config/automation/Timed_Triggers/startup_notification.yaml index 02709284..fcf4689a 100755 --- a/config/automation/Timed_Triggers/startup_notification.yaml +++ b/config/automation/Timed_Triggers/startup_notification.yaml @@ -13,7 +13,7 @@ title: 'Home Assistant StartUp' value1: 'Home Assistant is Up and Running!' who: 'carlo' - apns_id: 'Startup' + apns_id: 'information' - service: light.turn_off entity_id: light.hallway_lights diff --git a/config/automation/garadget.yaml b/config/automation/garadget.yaml index 5b809925..ed4e9f70 100755 --- a/config/automation/garadget.yaml +++ b/config/automation/garadget.yaml @@ -30,7 +30,7 @@ who: "parents" content_type: 'jpeg' url: !secret camera2_snapshot - apns_id: 'Garadget' + apns_id: 'information' ############################################################################## @@ -83,7 +83,7 @@ value2: "Large: {{ states('cover.large_garage')}}" who: "family" camera_entity: "camera.camera2" - apns_id: 'Garadget' + apns_id: 'information' - service: script.speech_engine data_template: diff --git a/config/packages/juicenet.yaml b/config/packages/juicenet.yaml index e5dad3b6..eafe343e 100755 --- a/config/packages/juicenet.yaml +++ b/config/packages/juicenet.yaml @@ -6,8 +6,8 @@ homeassistant: customize_glob: "*.carlojuice*": - - + + #------------------------------------------- juicenet: access_token: !secret juicenet_access_token @@ -48,7 +48,7 @@ automation: data_template: value1: "The Garage charger is now in {{ states('sensor.carlojuice_charging_status') }} mode." who: 'carlo' - apns_id: 'JuiceBox' + apns_id: 'information' - alias: 'Juicebox Self-Heal' initial_state: 'on' diff --git a/config/packages/neato.yaml b/config/packages/neato.yaml index e3367c79..2daf2862 100755 --- a/config/packages/neato.yaml +++ b/config/packages/neato.yaml @@ -84,7 +84,7 @@ automation: ios_category: 'camera' camera_entity: 'camera.carlo_neato_cleaning_map' content_type: 'jpeg' - apns_id: 'neato-carlo_neato_cleaning_map' + apns_id: 'information' - delay: 00:20:00 - event: event_did_someone_help_neato diff --git a/config/packages/powerwall.yaml b/config/packages/powerwall.yaml index 02546074..72b4a328 100755 --- a/config/packages/powerwall.yaml +++ b/config/packages/powerwall.yaml @@ -95,4 +95,4 @@ automation: data_template: value1: "The electrical grid is reporting to be {{ (trigger.to_state.state)|replace('True', 'up')|replace('False', 'down') }}. Please verify with Tesla App." who: 'parents' - apns_id: 'PowerWall' + apns_id: 'information' diff --git a/config/packages/space.yaml b/config/packages/space.yaml index 5c97e29d..38c2422d 100755 --- a/config/packages/space.yaml +++ b/config/packages/space.yaml @@ -54,7 +54,7 @@ automation: - service: script.notify_engine data_template: value1: 'Go Outside! There is a Rocket Launch very soon!' - apns_id: 'Space' + apns_id: 'information' - service: script.tweet_engine data_template: diff --git a/config/script/notify_engine.yaml b/config/script/notify_engine.yaml index 618cd5e5..80dfbe97 100755 --- a/config/script/notify_engine.yaml +++ b/config/script/notify_engine.yaml @@ -10,7 +10,7 @@ # who: "stacey | carlo | paige | family | parents" # camera_entity: 'Camera.Camera' # content-type: "jpeg" - # apns: "Something_Unique" + # apns_id: "Something_Unique" if important or information # IFTTT Maker channel should look like this: https://files.gitter.im/home-assistant/home-assistant/phkx/blob diff --git a/config/script/skybell_pressed.yaml b/config/script/skybell_pressed.yaml index 5badbd6e..f9837cbd 100755 --- a/config/script/skybell_pressed.yaml +++ b/config/script/skybell_pressed.yaml @@ -33,7 +33,7 @@ skybell_pressed: ios_category: 'camera' camera_entity: 'camera.front_door_last_activity' content_type: 'jpeg' - apns_id: 'doorbell' + apns_id: 'information' - service: script.flash_notify