fix(alerts): iOS data.url only — clickAction rejected by apns schema [#344 #778]
ci / lint (push) Successful in 46s

Watchdog notify crash root-caused: iOS companion schema rejects
data.clickAction; url is the iOS deep-link key. Suite updated to
assert url presence per alert.
https://projects.knownelement.com/issues/778
This commit is contained in:
2026-09-04 16:11:31 -05:00
parent 13b0976ad6
commit 601c70ec5e
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -16,7 +16,6 @@
- notify.allthes_ipad
data:
title: POWER OUTAGE
clickAction: /lovelace-pfv-server-room/ups
url: /lovelace-pfv-server-room/ups
message: '{{ state_attr(trigger.entity_id, ''friendly_name'') }} lost utility
power and is ON BATTERY at {{ states(''sensor.'' ~ trigger.entity_id.split(''.'')[1]
@@ -42,7 +41,6 @@
- notify.allthes_ipad
data:
title: UPS BATTERY LOW
clickAction: /lovelace-pfv-server-room/ups
url: /lovelace-pfv-server-room/ups
message: '{{ trigger.entity_id }} at {{ states(trigger.entity_id) }}% while
on battery. Start graceful shutdown of VMs before hypervisors (#455 ordering).'
@@ -64,7 +62,6 @@
- notify.allthes_ipad
data:
title: UPS COMMS LOST
clickAction: /lovelace-pfv-server-room/ups
url: /lovelace-pfv-server-room/ups
message: '{{ trigger.entity_id }} unreachable for 5 minutes (nut-server or network
path down; tsys1 also hosts pfv-bms itself).'
@@ -88,7 +85,6 @@
- notify.allthes_ipad
data:
title: UPS RUNTIME LOW
clickAction: /lovelace-pfv-server-room/ups
url: /lovelace-pfv-server-room/ups
message: On battery {{ states('sensor.pfv_ups_runtime_minutes') }} min left — start graceful shutdown now (#455 ordering).
mode: single
@@ -111,7 +107,6 @@
- notify.allthes_ipad
data:
title: Power restored
clickAction: /lovelace-pfv-server-room/ups
url: /lovelace-pfv-server-room/ups
message: '{{ state_attr(trigger.entity_id, ''friendly_name'') }} is back ONLINE.'
mode: single
@@ -189,7 +184,6 @@
- notify.allthes_ipad
data:
title: HIGH TEMPERATURE
clickAction: /lovelace-pfv-server-room/temps
url: /lovelace-pfv-server-room/temps
message: '{{ trigger.entity_id }} is {{ states(trigger.entity_id) }}°F (class
threshold exceeded). Check cooling/airflow.'
@@ -209,7 +203,6 @@
- notify.allthes_ipad
data:
title: SENSOR WATCHDOG
clickAction: /lovelace-pfv-server-room/overview
url: /lovelace-pfv-server-room/overview
message: >-
{% set fleet = states.sensor | selectattr('entity_id', 'match', 'sensor\.pfv_')
@@ -243,7 +236,6 @@
- notify.allthes_ipad
data:
title: TEMP RISING FAST
clickAction: /lovelace-pfv-server-room/temps
url: /lovelace-pfv-server-room/temps
message: '{{ trigger.entity_id }} climbing ~10F/15min — check cooling
before the 104F threshold. (rate-of-change early warning)'
@@ -519,7 +511,6 @@
- notify.allthes_ipad
data:
title: TEMPERATURE RECOVERED
clickAction: /lovelace-pfv-server-room/temps
url: /lovelace-pfv-server-room/temps
message: >-
{{ state_attr(trigger.entity_id, 'friendly_name') | default(trigger.entity_id) }}
@@ -599,7 +590,6 @@
- notify.allthes_ipad
data:
title: WATCHDOG
clickAction: /lovelace-pfv-server-room/temps
url: /lovelace-pfv-server-room/temps
message: >-
Stale after auto-reload: {{ still_stale | join(', ') }}.