manatee: Send Galleriet and disk SMART alerts only to the Pixel
Only the fridge door and water leak alerts need to reach both phones.
This commit is contained in:
1 parent
542a83b07d
commit
69bc014849
2 files changed
+3
-3
No files matched your search
@@ -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