mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2026-05-28 21:46:51 +00:00
Update HA version to 2026.2.0 and remove deprecated APT updates and MariaDB monitoring configurations. Updated README to reflect changes in package availability.
This commit is contained in:
@@ -1 +1 @@
|
||||
2026.1.3
|
||||
2026.2.0
|
||||
@@ -45,7 +45,8 @@ Live collection of plug-and-play Home Assistant packages. Each YAML file in this
|
||||
| [lightning.yaml](lightning.yaml) | Blitzortung lightning counter monitoring with snoozeable push actions. | `sensor.blitzortung_lightning_counter`, `input_boolean.snooze_lightning`, notify engine actions |
|
||||
| [logbook_activity_feed.yaml](logbook_activity_feed.yaml) | Dummy `sensor.activity_feed` + helper to write clean Activity entries (Issue #1550). | `sensor.activity_feed`, `script.send_to_logbook` |
|
||||
| [mariadb_monitoring.yaml](mariadb_monitoring.yaml) | MariaDB health sensors and Lovelace dashboard snippet for recorder stats. | `sensor.mariadb_status`, `sensor.database_size` |
|
||||
| [apt_updates.yaml](apt_updates.yaml) | Weekly APT patch reporting for Docker hosts + Repairs reboot alerts. | `sensor.docker_*_apt_status`, `repairs.create`, `script.send_to_logbook` |
|
||||
| [docker_infrastructure.yaml](docker_infrastructure.yaml) | Docker host patching + container-down Repairs alerts. | `sensor.docker_*_apt_status`, `repairs.create` |
|
||||
| [mariadb.yaml](mariadb.yaml) | MariaDB recorder health and capacity SQL sensors. | `sensor.mariadb_status`, `sensor.database_size` |
|
||||
| [tugtainer_updates.yaml](tugtainer_updates.yaml) | Tugtainer container update notifications via webhook + persistent alerts. | `persistent_notification.create`, `input_datetime.tugtainer_last_update` |
|
||||
| [phynplus.yaml](phynplus.yaml) | Phyn shutoff automations with push + Activity feed + Repairs issues for leak events. | `valve.phyn_shutoff_valve`, `binary_sensor.phyn_leak_test_running`, `repairs.create` |
|
||||
| [water_delivery.yaml](water_delivery.yaml) | ReadyRefresh delivery date helper with night-before + garage door Alexa reminders. | `input_datetime.water_delivery_date`, `notify.alexa_media_garage` |
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
# For more info visit https://www.vcloudinfo.com/click-here
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# -------------------------------------------------------------------
|
||||
# APT Updates - Weekly patch reporting for Docker hosts
|
||||
# Receives webhook payloads from docker_10/docker_14/docker_69 after APT runs.
|
||||
# Docker Infrastructure - Host patching and container alerts
|
||||
# APT webhook results and container down repairs.
|
||||
# -------------------------------------------------------------------
|
||||
# Notes: Hosts run a weekly Wednesday 12:00 APT job and POST JSON to these webhooks.
|
||||
# Notes: Logbook entry only when `updated: true`; creates Repairs issue if reboot needed.
|
||||
# Notes: Hosts run weekly Wed 12:00 APT job and POST JSON to webhooks.
|
||||
# Notes: Container watchlist is explicit; extend entity list as needed.
|
||||
######################################################################
|
||||
|
||||
input_datetime:
|
||||
@@ -391,3 +391,66 @@ automation:
|
||||
service: repairs.remove
|
||||
data:
|
||||
issue_id: "{{ issue_id }}"
|
||||
|
||||
- alias: "Docker Container Offline - Create Repairs"
|
||||
id: docker_container_offline_repairs_create
|
||||
description: "Create a Repairs issue when a watched container is down for 5+ minutes."
|
||||
mode: parallel
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.rc_price_checker_state
|
||||
- switch.rc_price_checker_container
|
||||
to: "unavailable"
|
||||
for: "00:05:00"
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.rc_price_checker_state
|
||||
to: "unknown"
|
||||
for: "00:05:00"
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.rc_price_checker_state
|
||||
to: "restarting"
|
||||
for: "00:05:00"
|
||||
- platform: state
|
||||
entity_id:
|
||||
- switch.rc_price_checker_container
|
||||
to: "off"
|
||||
for: "00:05:00"
|
||||
variables:
|
||||
issue_id: "docker_container_{{ trigger.entity_id | replace('.', '_') }}"
|
||||
container_name: >-
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') | default(trigger.entity_id) }}
|
||||
current_state: "{{ states(trigger.entity_id) }}"
|
||||
action:
|
||||
- service: repairs.create
|
||||
data:
|
||||
issue_id: "{{ issue_id }}"
|
||||
title: "Container offline: {{ container_name }}"
|
||||
description: >-
|
||||
{{ container_name }} has been {{ current_state }} for over 5 minutes.
|
||||
Entity: {{ trigger.entity_id }}.
|
||||
severity: warning
|
||||
persistent: true
|
||||
|
||||
- alias: "Docker Container Offline - Clear Repairs"
|
||||
id: docker_container_offline_repairs_clear
|
||||
description: "Clear Repairs issue once the watched container is back online."
|
||||
mode: parallel
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.rc_price_checker_state
|
||||
- switch.rc_price_checker_container
|
||||
variables:
|
||||
issue_id: "docker_container_{{ trigger.entity_id | replace('.', '_') }}"
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ states(trigger.entity_id) not in ['unavailable', 'unknown', 'restarting', 'off'] }}
|
||||
action:
|
||||
- service: repairs.remove
|
||||
continue_on_error: true
|
||||
data:
|
||||
issue_id: "{{ issue_id }}"
|
||||
Reference in New Issue
Block a user