Compare commits

..

No commits in common. "cc1afaa2182da0d33cd46849588ff0dc03be7ac1" and "1bbeab1ffe0b49a3752312f472ccf0d3914e2ad4" have entirely different histories.

1 changed files with 1 additions and 5 deletions

View File

@ -198,11 +198,7 @@ class WeatherDataUpdateCoordinator(DataUpdateCoordinator):
# Incoming station payload is delivered as query params.
# We copy it to a plain dict so it can be passed around safely.
get_data = webdata.query
post_data = await webdata.post()
# normalize incoming data to dict[str, Any]
data: dict[str, Any] = {**dict(get_data), **dict(post_data)}
data: dict[str, Any] = dict(webdata.query)
# Validate auth keys (different parameter names depending on endpoint mode).
if not _wslink and ("ID" not in data or "PASSWORD" not in data):