mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2026-01-07 06:21:24 +00:00
Refactor automation scripts to log significant events to the Activity feed using script.send_to_logbook. This includes updates to high wind speed notifications, bad login attempts, trigger dumps, startup notifications, and various other automations across multiple packages, enhancing visibility and tracking of system activities.
This commit is contained in:
@@ -35,6 +35,10 @@ automation:
|
||||
value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent.state }}%!"
|
||||
value3: 'Attempting to clean'
|
||||
who: 'carlo'
|
||||
- service: script.send_to_logbook
|
||||
data:
|
||||
topic: "SYSTEM"
|
||||
message: "Disk usage exceeded 80% (/dev/root: {{ states.sensor.disk_use_percent.state }}%). Attempting to clean."
|
||||
- service: tts.clear_cache
|
||||
|
||||
- alias: "Disk Use Alarm"
|
||||
@@ -49,3 +53,7 @@ automation:
|
||||
value1: 'Hard Drive Monitor:'
|
||||
value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent.state }}%!"
|
||||
who: 'carlo'
|
||||
- service: script.send_to_logbook
|
||||
data:
|
||||
topic: "SYSTEM"
|
||||
message: "Disk usage exceeded 90% (/dev/root: {{ states.sensor.disk_use_percent.state }}%)."
|
||||
|
||||
Reference in New Issue
Block a user