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}'';