From 6a84c88993f5a905de8f85b5bb44a15b088a97ed Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Mon, 21 Jul 2025 14:57:40 -0400 Subject: [PATCH] Add automation to notify Carlo of Proxmox updates in proxmox. This automation triggers notifications when updates are available for Proxmox hosts,. --- config/packages/proxmox.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config/packages/proxmox.yaml b/config/packages/proxmox.yaml index dc8c1a32..6e534889 100644 --- a/config/packages/proxmox.yaml +++ b/config/packages/proxmox.yaml @@ -15,3 +15,22 @@ automation: target: entity_id: button.qemu_docker2_101_reboot mode: single + + - alias: "Notify Carlo of Proxmox Updates" + id: notify_carlo_proxmox_updates + description: "Sends a notification to Carlo when there are updates available for the Proxmox hosts." + trigger: + - platform: state + entity_id: binary_sensor.node_proxmox02_updates_packages + to: 'on' + - platform: state + entity_id: binary_sensor.node_proxmox1_updates_packages + to: 'on' + action: + - service: script.notify_engine + data: + who: carlo + title: "Proxmox Updates Available" + value1: "There are updates available for the Proxmox hosts. Please review and apply updates as needed." + group: "information" + mode: single