mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-24 12:13:28 +00:00
5ec2947d86
The Pushover webhook template now honors user-defined custom fields for sound, priority, and device. Previously, these fields were hardcoded based on alert level, ignoring any custom values set by users in the UI. Changes: - sound: Uses CustomFields.sound if provided, otherwise falls back to level-based default (critical=siren, warning=tugboat, else=pushover) - priority: Uses CustomFields.priority if provided, otherwise falls back to level-based default (critical=1, warning=0, else=-1) - device: Uses CustomFields.device if provided, otherwise falls back to ResourceName Updated setup instructions to document optional custom fields for sound, priority, and device configuration. This allows users to customize Pushover notification behavior without editing webhook templates, consistent with Pulse's maintainability goals.