Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated Alerts from NWS - fix provided #71

Open
mjnovotny82 opened this issue Dec 3, 2022 · 1 comment
Open

Duplicated Alerts from NWS - fix provided #71

mjnovotny82 opened this issue Dec 3, 2022 · 1 comment

Comments

@mjnovotny82
Copy link

mjnovotny82 commented Dec 3, 2022

NWS keeps duplicating some of their alerts where they keep the original alert and issue a second alert when the advisory is actually occurring.

It was very annoying to have two Wind Advisory alerts being announced every time.

Attached is NWS API output and my sensor.py fix.

NWS API output - weatheralerts--WIZ060-WIC089.txt

My fix: sensor.py.txt
Line 19 = new
Lines 159-195 = amended, lines 159-161 are new

@regularguy01
Copy link

Are these really duplicates the oids all look different to me. Are you saying the text with in the oid is the same? I have not gotten duplicate alerts.

I rewrote alot of the yaml in mine though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants