From 69bc0148499fb4b3e7ae7b9da8e8ebb6f72a418a Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Thu, 12 Nov 2026 10:10:59 +0000 Subject: [PATCH] manatee: Send Galleriet and disk SMART alerts only to the Pixel Only the fridge door and water leak alerts need to reach both phones. --- hosts/manatee/modules/disk-smart/default.nix | 4 ++-- hosts/manatee/modules/home-assistant/default.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/manatee/modules/disk-smart/default.nix b/hosts/manatee/modules/disk-smart/default.nix index 276a207..6705594 100644 --- a/hosts/manatee/modules/disk-smart/default.nix +++ b/hosts/manatee/modules/disk-smart/default.nix @@ -107,7 +107,7 @@ ${sectorEntitiesYaml} - condition: template value_template: "{{ trigger.from_state.state | int(-1) >= 0 and trigger.to_state.state | int(0) > trigger.from_state.state | int(0) }}" action: - - service: notify.phones + - service: notify.mobile_app_pixel_9_pro data: title: "Disk SMART warning" message: "{{ trigger.to_state.attributes.friendly_name }} increased from {{ trigger.from_state.state }} to {{ trigger.to_state.state }}" @@ -120,7 +120,7 @@ ${smartPassedEntitiesYaml} - condition: template value_template: "{{ trigger.to_state.state | lower == 'false' }}" action: - - service: notify.phones + - service: notify.mobile_app_pixel_9_pro data: title: "Disk SMART FAILURE" message: "{{ trigger.to_state.attributes.friendly_name }} reports SMART failure — drive is likely failing" diff --git a/hosts/manatee/modules/home-assistant/default.nix b/hosts/manatee/modules/home-assistant/default.nix index 5eb0cd0..5a3bca9 100644 --- a/hosts/manatee/modules/home-assistant/default.nix +++ b/hosts/manatee/modules/home-assistant/default.nix @@ -107,7 +107,7 @@ alert: state: "on" repeat: 60 notifiers: - - phones + - mobile_app_pixel_9_pro ${cfg.extraConfig}'';