Compare commits

...
2 Commits
Author SHA1 Message Date
Alexander Heldt de1b78561d Update puppy-tracker flake input 2026-11-13 09:14:40 +00:00
Alexander Heldt 69bc014849 manatee: Send Galleriet and disk SMART alerts only to the Pixel
Only the fridge door and water leak alerts need to reach both phones.
2026-11-13 09:14:34 +00:00
3 changed files with 7 additions and 7 deletions

No files matched your search

Generated
+4 -4
View File
@@ -912,11 +912,11 @@
]
},
"locked": {
"lastModified": 1793606847,
"narHash": "sha256-ELwXp0cLgYzFO5t8dMRXbpQ/9AGc/Gyo+JNB6H3YHqg=",
"lastModified": 1794479223,
"narHash": "sha256-Ys2deXGT4PEbsaXBm+jDNFsk0DW6POT6tYNJzI/gycU=",
"ref": "main",
"rev": "f98137097cefae9b695bf2237077104d0752c835",
"revCount": 143,
"rev": "a01d74e9d528ee9a293319310c8d3496617f4539",
"revCount": 144,
"type": "git",
"url": "ssh://gitea@git.ppp.pm:1122/alex/puppy-tracker.git"
},
+2 -2
View File
@@ -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"
@@ -107,7 +107,7 @@ alert:
state: "on"
repeat: 60
notifiers:
- phones
- mobile_app_pixel_9_pro
${cfg.extraConfig}'';