Compare commits
2
Commits
542a83b07d
...
de1b78561d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de1b78561d | ||
|
|
69bc014849 |
No files matched your search
Generated
+4
-4
@@ -912,11 +912,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793606847,
|
"lastModified": 1794479223,
|
||||||
"narHash": "sha256-ELwXp0cLgYzFO5t8dMRXbpQ/9AGc/Gyo+JNB6H3YHqg=",
|
"narHash": "sha256-Ys2deXGT4PEbsaXBm+jDNFsk0DW6POT6tYNJzI/gycU=",
|
||||||
"ref": "main",
|
"ref": "main",
|
||||||
"rev": "f98137097cefae9b695bf2237077104d0752c835",
|
"rev": "a01d74e9d528ee9a293319310c8d3496617f4539",
|
||||||
"revCount": 143,
|
"revCount": 144,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@git.ppp.pm:1122/alex/puppy-tracker.git"
|
"url": "ssh://gitea@git.ppp.pm:1122/alex/puppy-tracker.git"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ${sectorEntitiesYaml}
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ trigger.from_state.state | int(-1) >= 0 and trigger.to_state.state | int(0) > trigger.from_state.state | int(0) }}"
|
value_template: "{{ trigger.from_state.state | int(-1) >= 0 and trigger.to_state.state | int(0) > trigger.from_state.state | int(0) }}"
|
||||||
action:
|
action:
|
||||||
- service: notify.phones
|
- service: notify.mobile_app_pixel_9_pro
|
||||||
data:
|
data:
|
||||||
title: "Disk SMART warning"
|
title: "Disk SMART warning"
|
||||||
message: "{{ trigger.to_state.attributes.friendly_name }} increased from {{ trigger.from_state.state }} to {{ trigger.to_state.state }}"
|
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
|
- condition: template
|
||||||
value_template: "{{ trigger.to_state.state | lower == 'false' }}"
|
value_template: "{{ trigger.to_state.state | lower == 'false' }}"
|
||||||
action:
|
action:
|
||||||
- service: notify.phones
|
- service: notify.mobile_app_pixel_9_pro
|
||||||
data:
|
data:
|
||||||
title: "Disk SMART FAILURE"
|
title: "Disk SMART FAILURE"
|
||||||
message: "{{ trigger.to_state.attributes.friendly_name }} reports SMART failure — drive is likely failing"
|
message: "{{ trigger.to_state.attributes.friendly_name }} reports SMART failure — drive is likely failing"
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ alert:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat: 60
|
repeat: 60
|
||||||
notifiers:
|
notifiers:
|
||||||
- phones
|
- mobile_app_pixel_9_pro
|
||||||
|
|
||||||
${cfg.extraConfig}'';
|
${cfg.extraConfig}'';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user