briis / hass-weatherflow

Home Assistant Integration for WeatherFlow Stations
MIT License
67 stars 11 forks source link

Weatherflow Hourly based Forecast: Unknown #66

Closed lostcontrol closed 1 year ago

lostcontrol commented 1 year ago

As visible in the following screenshot, I sometimes get 'unknown' ('Inconnu' in French) as the current weather condition:

image

I get this for a few weeks/months now. Not sure if it was caused by a change in this plugin or if Weatherflow changed something in their API. One of the statuses is probably not mapped properly. I didn't manage to find which one at the moment. Looks also like there is no French translation in this plugin so I guess the value "Inconnu" comes from HA directly.

Looking at the code, I guess you take the value from "icon" in "current_conditions" from /better_forecast. I'll see if I can find the value reported by Weatherflow API when the problem occurs.

There is nothing in HA's logs by the way.

lostcontrol commented 1 year ago

Duplicate. Sorry, Github had a hiccup.