Watching the hard driv space usage.

This commit is contained in:
CCOSTAN
2017-02-10 16:49:36 +00:00
parent 2502d74e95
commit c2ebdf48f5

View File

@@ -81,7 +81,7 @@
- alias: "Disk Use Alarm" - alias: "Disk Use Alarm"
trigger: trigger:
- platform: numeric_state - platform: numeric_state
entity_id: sensor.disk_use_percent entity_id: sensor.disk_use_
above: 30.4 above: 30.4
action: action:
- service: script.Voice_notify - service: script.Voice_notify
@@ -92,7 +92,6 @@
value1: 'Hard Drive Monitor:' value1: 'Hard Drive Monitor:'
value2: "Your harddrive has run out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!" value2: "Your harddrive has run out of Space! /dev/root:{{ states.sensor.disk_use_.state }}%!"
value3: ' ' value3: ' '
- service: persistent_notification.create - service: persistent_notification.create
data: data:
title: "Hard Drive Monitor:" title: "Hard Drive Monitor:"