Skip to content

weatheralerts v0.1.1

Compare
Choose a tag to compare
@jlverhagen jlverhagen released this 29 Mar 21:20
· 64 commits to master since this release
161b378

This release addresses a problem when multiple alerts are issued with the same 'sent' date/time. The json alert feed will randomly swap these alerts around and can cause notifications to be continually re-triggered, potentially every 30 seconds (or whatever the scan_interval is set to in the weatheralerts yaml configuration). The alerts array is now sorted by 'sent' and 'id' fields, and should keep alerts in a consistent order even when they are swapped around in the json alert feed.