From b9b67c4aab8cf37418c759a8dc3de71924862980 Mon Sep 17 00:00:00 2001 From: ccostan Date: Sun, 11 Feb 2018 11:23:29 -0500 Subject: [PATCH] Breaking Changes Update --- packages/processmonitor.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/processmonitor.yaml b/packages/processmonitor.yaml index 821f7c65..0f8589a2 100755 --- a/packages/processmonitor.yaml +++ b/packages/processmonitor.yaml @@ -28,13 +28,13 @@ automation: - alias: "Self Heal Disk Use Alarm" trigger: - platform: numeric_state - entity_id: sensor.disk_used_ + entity_id: sensor.disk_use_percent_ above: 80 action: - service: script.notify_engine data_template: value1: 'Hard Drive Monitor:' - value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_used_.state }}%!" + value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent_.state }}%!" value3: 'Attempting to clean' who: 'carlo' - service: tts.clear_cache @@ -42,17 +42,17 @@ automation: - alias: "Disk Use Alarm" trigger: - platform: numeric_state - entity_id: sensor.disk_used_ + entity_id: sensor.disk_use_percent_ above: 90 action: - service: script.notify_engine data_template: value1: 'Hard Drive Monitor:' - value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_used_.state }}%!" + value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent_.state }}%!" who: 'carlo' - service: persistent_notification.create data: title: "Hard Drive Monitor:" - message: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_used_.state }}%!" + message: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent_.state }}%!" notification_id: "Critical Alert"