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

.alert.hasAlert / .warning.hasWarning are not correct #208

Open
MaxTomanek opened this issue Sep 13, 2024 · 1 comment
Open

.alert.hasAlert / .warning.hasWarning are not correct #208

MaxTomanek opened this issue Sep 13, 2024 · 1 comment

Comments

@MaxTomanek
Copy link

MaxTomanek commented Sep 13, 2024

Hi, the global Objects .alert.hasAlert / .warning.hasWarning are always filled with the data of last queried station(s), not the sum of all 5 configured stations.

In main.js there is the function "requestData" with the variables "warnings" and "alerts" - which should have the stations with warnings / alerts in it. But this function is called for every configured station(s) individually.

Best regards, Markus

@simatec
Copy link
Owner

simatec commented Feb 22, 2025

I don't really understand your problem. Each station is queried individually and therefore there are also individual warnings for each station

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

No branches or pull requests

2 participants