From f91e9ffe0b69392651f6f274a45a42c51ab2adf8 Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Sat, 8 Aug 2026 10:59:33 -0400 Subject: [PATCH] refactor: retire redundant maintenance schedules --- config/packages/onenote_indexer.yaml | 36 ---------------------------- config/packages/proxmox.yaml | 20 ++-------------- 2 files changed, 2 insertions(+), 54 deletions(-) diff --git a/config/packages/onenote_indexer.yaml b/config/packages/onenote_indexer.yaml index 2e05f449..ab312fab 100644 --- a/config/packages/onenote_indexer.yaml +++ b/config/packages/onenote_indexer.yaml @@ -166,42 +166,6 @@ template: {{ is_state('sensor.onenote_indexer_last_job_status', 'error') }} automation: - - id: onenote_indexer_daily_delete_maintenance - alias: OneNote Indexer - Daily Delete Maintenance Request - description: Ask Joanna daily to run duplicate cleanup and delete reconciliation for OneNote indexer. - mode: single - trigger: - - platform: time - at: "03:15:00" - condition: - - condition: template - value_template: "{{ not (state_attr('sensor.onenote_indexer_last_job_status', 'running') | default(false) | bool) }}" - action: - - variables: - trigger_context: "HA automation onenote_indexer_daily_delete_maintenance (OneNote Indexer - Daily Delete Maintenance Request)" - - service: script.send_to_logbook - data: - topic: "ONENOTE" - message: "Requesting daily duplicate cleanup + delete reconciliation run from Joanna." - - service: script.joanna_dispatch - data: - trigger_context: "{{ trigger_context }}" - source: "home_assistant_automation.onenote_indexer_daily_delete_maintenance" - summary: "Run daily OneNote indexer duplicate cleanup and deletion reconciliation" - entity_ids: - - "sensor.onenote_indexer_status_payload" - - "sensor.onenote_indexer_last_job_status" - diagnostics: "scheduled_time=03:15:00" - request: >- - Run OneNote duplicate cleanup and apply deletions. - Start with any dependency check needed before cleanup or delete reconciliation. - If cleanup does not finish cleanly or index health is not confirmed, report back with: - Headline: Cleanup did not finish cleanly; index health is not confirmed. - Action: Retry cleanup after dependency check. - Otherwise include delete reconciliation, then send a brief conversational morning summary. - Tell me whether cleanup finished and whether anything actually changed. - Only include detailed counts or backend metrics if pages were removed, something failed, or you need my attention. - - id: onenote_indexer_failure_open_repair alias: OneNote Indexer - Open Repair On Failure description: Open a Spook Repair issue and ask Joanna to troubleshoot when indexer status is failed. diff --git a/config/packages/proxmox.yaml b/config/packages/proxmox.yaml index 346de657..21ab5ea7 100644 --- a/config/packages/proxmox.yaml +++ b/config/packages/proxmox.yaml @@ -3,8 +3,8 @@ # For more info visit https://www.vcloudinfo.com/click-here # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # ------------------------------------------------------------------- -# Proxmox Host Automations - reboots, repairs, and Joanna dispatch -# Nightly Frigate host reboot plus update/runtime/disk health automations. +# Proxmox Host Automations - repairs and Joanna dispatch +# Update, runtime, and disk health automations. # ------------------------------------------------------------------- # Related Issue: 1584 # Related Issue: 1798 @@ -97,22 +97,6 @@ template: {% endif %} automation: - - alias: "Nightly Frigate Server Reboot" - id: nightly_frigate_reboot - description: "Reboots the Frigate server every day at 5 AM" - mode: single - trigger: - - platform: time - at: "05:00:00" - action: - - service: button.press - target: - entity_id: button.qemu_docker2_101_reboot - - service: script.send_to_logbook - data: - topic: "FRIGATE" - message: "Frigate server rebooted at 5 AM." - - alias: "Proxmox Updates Joanna Dispatch" id: proxmox_updates_joanna_dispatch description: "Log when Proxmox updates appear, then dispatch Joanna overnight if updates remain."