mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-07-21 11:17:02 +00:00
Breaking Changes Update
This commit is contained in:
parent
7589cd7ca4
commit
b9b67c4aab
@ -28,13 +28,13 @@ automation:
|
|||||||
- alias: "Self Heal Disk Use Alarm"
|
- alias: "Self Heal Disk Use Alarm"
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.disk_used_
|
entity_id: sensor.disk_use_percent_
|
||||||
above: 80
|
above: 80
|
||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: 'Hard Drive Monitor:'
|
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'
|
value3: 'Attempting to clean'
|
||||||
who: 'carlo'
|
who: 'carlo'
|
||||||
- service: tts.clear_cache
|
- service: tts.clear_cache
|
||||||
@ -42,17 +42,17 @@ automation:
|
|||||||
- alias: "Disk Use Alarm"
|
- alias: "Disk Use Alarm"
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.disk_used_
|
entity_id: sensor.disk_use_percent_
|
||||||
above: 90
|
above: 90
|
||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: 'Hard Drive Monitor:'
|
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'
|
who: 'carlo'
|
||||||
|
|
||||||
- service: persistent_notification.create
|
- service: persistent_notification.create
|
||||||
data:
|
data:
|
||||||
title: "Hard Drive Monitor:"
|
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"
|
notification_id: "Critical Alert"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user