From 6572b19eada3cfad1a2d2b579b54aac70082d67c Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Fri, 6 Feb 2026 10:22:14 -0500 Subject: [PATCH] Update HA version to 2026.2.0 and remove deprecated APT updates and MariaDB monitoring configurations. Updated README to reflect changes in package availability. --- config/.HA_VERSION | 2 +- config/packages/README.md | 3 +- ...pdates.yaml => docker_infrastructure.yaml} | 71 +++++++++++++++++-- .../{mariadb_monitoring.yaml => mariadb.yaml} | 0 4 files changed, 70 insertions(+), 6 deletions(-) rename config/packages/{apt_updates.yaml => docker_infrastructure.yaml} (86%) rename config/packages/{mariadb_monitoring.yaml => mariadb.yaml} (100%) diff --git a/config/.HA_VERSION b/config/.HA_VERSION index a176574a..9ef8d5e8 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -2026.1.3 \ No newline at end of file +2026.2.0 \ No newline at end of file diff --git a/config/packages/README.md b/config/packages/README.md index 32ec6537..8aa2c126 100755 --- a/config/packages/README.md +++ b/config/packages/README.md @@ -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` | diff --git a/config/packages/apt_updates.yaml b/config/packages/docker_infrastructure.yaml similarity index 86% rename from config/packages/apt_updates.yaml rename to config/packages/docker_infrastructure.yaml index ae4eae27..55b38571 100644 --- a/config/packages/apt_updates.yaml +++ b/config/packages/docker_infrastructure.yaml @@ -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 }}" diff --git a/config/packages/mariadb_monitoring.yaml b/config/packages/mariadb.yaml similarity index 100% rename from config/packages/mariadb_monitoring.yaml rename to config/packages/mariadb.yaml