mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-03 11:31:42 +00:00
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations. - Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages. - Added relevant links and issue references where applicable to enhance user guidance and support.
38 lines
1.5 KiB
YAML
Executable File
38 lines
1.5 KiB
YAML
Executable File
#-------------------------------------------
|
|
# @CCOSTAN
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# Backups - Monitor backup jobs and alert on failures.
|
|
#-------------------------------------------
|
|
######################################################################
|
|
## Duplicati/backup status sensors and notifications.
|
|
######################################################################
|
|
# Added Duplicati to HA - https://github.com/CCOSTAN/Home-AssistantConfig/issues/1498
|
|
automation:
|
|
- alias: 'Backup Job Failed Notification'
|
|
id: 5b3a4c89-1234-4567-8901-23456789abcf
|
|
trigger:
|
|
- platform: state
|
|
entity_id: sensor.dockerconfigs_backup_error_message
|
|
from: '-'
|
|
action:
|
|
- service: script.notify_engine
|
|
data:
|
|
who: 'carlo'
|
|
value1: 'Backup Job Error!'
|
|
value2: "Error: {{ states('sensor.dockerconfigs_backup_error_message') }}"
|
|
|
|
- alias: 'Backup Size Change Alert'
|
|
id: 5b3a4c89-1234-4567-8901-23456789abd0
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.dockerconfigs_backup_target_size
|
|
above: 10000000000 # Alert if backup size is over 10GB
|
|
action:
|
|
- service: script.notify_engine
|
|
data:
|
|
who: 'carlo'
|
|
value1: 'Backup Size Warning'
|
|
value2: >
|
|
Backup target size has grown to {{ states('sensor.dockerconfigs_backup_target_size') | float / 1000000000 }} GB.
|
|
Please verify backup contents and available storage.
|