Updated UI to reflet new space alerts

This commit is contained in:
CCOSTAN
2017-02-10 17:14:25 +00:00
parent c2ebdf48f5
commit 93b1c2c04b
3 changed files with 20 additions and 60 deletions

View File

@@ -82,18 +82,18 @@
trigger:
- platform: numeric_state
entity_id: sensor.disk_use_
above: 30.4
above: 80
action:
- service: script.Voice_notify
data_template:
value1: 'Your harddrive has run out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!'
value1: 'ATTENTION: Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!'
- service: script.ifttt_notify
data_template:
value1: 'Hard Drive Monitor:'
value2: "Your harddrive has run out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!"
value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!"
value3: ' '
- service: persistent_notification.create
data:
title: "Hard Drive Monitor:"
message: "Your harddrive has run out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!"
message: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!"
notification_id: "Critical Alert"