mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Minor Edit
This commit is contained in:
@@ -75,7 +75,7 @@ group:
|
||||
- sensor.ccostanhomeassistantconfig_state
|
||||
- sensor.ha_uptime
|
||||
- sensor.last_boot_templated
|
||||
- sensor.disk_use_percent_
|
||||
- sensor.disk_use_percent
|
||||
- sensor.homeassistant_v2db
|
||||
- sensor.speedtest_download
|
||||
- sensor.speedtest_upload
|
||||
|
@@ -28,13 +28,13 @@ automation:
|
||||
- alias: "Self Heal Disk Use Alarm"
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.disk_use_percent_
|
||||
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_use_percent_.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_use_percent_
|
||||
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_use_percent_.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_use_percent_.state }}%!"
|
||||
message: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent.state }}%!"
|
||||
notification_id: "Critical Alert"
|
||||
|
@@ -30,7 +30,7 @@ group:
|
||||
- switch.backyard_shrubs
|
||||
- switch.front_lawn
|
||||
- switch.left_side_house
|
||||
- switch.front_hedges__right_side_house
|
||||
- switch.front_hedges_right_side_house
|
||||
|
||||
automation:
|
||||
###################################
|
||||
|
11
config/packages/speedtest.yaml
Executable file
11
config/packages/speedtest.yaml
Executable file
@@ -0,0 +1,11 @@
|
||||
#-------------------------------------------
|
||||
# SpeedTest Related Packages
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
|
||||
speedtestdotnet:
|
||||
scan_interval:
|
||||
hours: 6
|
||||
monitored_conditions:
|
||||
- download
|
||||
- upload
|
Reference in New Issue
Block a user