Minor Edit
This commit is contained in:
parent
58ecec0f69
commit
8d96037580
|
@ -1 +1 @@
|
||||||
0.85.0
|
0.88.0
|
|
@ -178,7 +178,7 @@ sensor.date:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sensor.disk_use_percent_:
|
sensor.disk_use_percent:
|
||||||
friendly_name: 'Disk Usage'
|
friendly_name: 'Disk Usage'
|
||||||
|
|
||||||
hidden: False
|
hidden: False
|
||||||
|
|
|
@ -75,7 +75,7 @@ group:
|
||||||
- sensor.ccostanhomeassistantconfig_state
|
- sensor.ccostanhomeassistantconfig_state
|
||||||
- sensor.ha_uptime
|
- sensor.ha_uptime
|
||||||
- sensor.last_boot_templated
|
- sensor.last_boot_templated
|
||||||
- sensor.disk_use_percent_
|
- sensor.disk_use_percent
|
||||||
- sensor.homeassistant_v2db
|
- sensor.homeassistant_v2db
|
||||||
- sensor.speedtest_download
|
- sensor.speedtest_download
|
||||||
- sensor.speedtest_upload
|
- sensor.speedtest_upload
|
||||||
|
|
|
@ -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_use_percent_
|
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_use_percent_.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_use_percent_
|
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_use_percent_.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_use_percent_.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"
|
||||||
|
|
|
@ -30,7 +30,7 @@ group:
|
||||||
- switch.backyard_shrubs
|
- switch.backyard_shrubs
|
||||||
- switch.front_lawn
|
- switch.front_lawn
|
||||||
- switch.left_side_house
|
- switch.left_side_house
|
||||||
- switch.front_hedges__right_side_house
|
- switch.front_hedges_right_side_house
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
###################################
|
###################################
|
||||||
|
|
|
@ -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
|
|
@ -46,7 +46,7 @@ tweet_engine_setup:
|
||||||
"I have spoken for about {{ states.sensor.speech_time.attributes.value|replace('m', '') }} minutes in the last 24 hours.",
|
"I have spoken for about {{ states.sensor.speech_time.attributes.value|replace('m', '') }} minutes in the last 24 hours.",
|
||||||
"When you add it all up, I have spoken for about {{ states.sensor.speech_time.attributes.value|replace('m', '') }} minutes in the last 24 hours!",
|
"When you add it all up, I have spoken for about {{ states.sensor.speech_time.attributes.value|replace('m', '') }} minutes in the last 24 hours!",
|
||||||
"The #Docker Host has been running for {{ states('sensor.last_boot_templated') }} (http://www.vmwareinfo.com/2018/02/journey-to-docker.html)",
|
"The #Docker Host has been running for {{ states('sensor.last_boot_templated') }} (http://www.vmwareinfo.com/2018/02/journey-to-docker.html)",
|
||||||
"The #Docker Host for Home Assistant is using {{ states('sensor.disk_use_percent_') }}% of the hard drive currently. (http://www.vmwareinfo.com/2018/02/journey-to-docker.html)",
|
"The #Docker Host for Home Assistant is using {{ states('sensor.disk_use_percent') }}% of the hard drive currently. (http://www.vmwareinfo.com/2018/02/journey-to-docker.html)",
|
||||||
"I am running Home Assistant version {{ states('sensor.ha_installed_version') }} (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
|
"I am running Home Assistant version {{ states('sensor.ha_installed_version') }} (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
|
||||||
"Home Assistant has been running for {{ states('sensor.ha_uptime') }}. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
|
"Home Assistant has been running for {{ states('sensor.ha_uptime') }}. (https://github.com/CCOSTAN/Home-AssistantConfig#logo)",
|
||||||
"The Github code (https://github.com/CCOSTAN/Home-AssistantConfig#logo) has {{ states.sensor.github_stats.attributes.stargazers_count}} stars and counting. Currently with {{ states.sensor.github_stats.attributes.open_issues }} open #Todo items."
|
"The Github code (https://github.com/CCOSTAN/Home-AssistantConfig#logo) has {{ states.sensor.github_stats.attributes.stargazers_count}} stars and counting. Currently with {{ states.sensor.github_stats.attributes.open_issues }} open #Todo items."
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
- platform: speedtest
|
|
||||||
minute: 30
|
|
||||||
hour:
|
|
||||||
- 0
|
|
||||||
- 6
|
|
||||||
- 12
|
|
||||||
- 18
|
|
||||||
monitored_conditions:
|
|
||||||
- download
|
|
||||||
- upload
|
|
Binary file not shown.
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue