briis / hass-weatherflow

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

Weatherflow Hourly based Forecast: Inconnu #65

Closed lostcontrol closed 11 months 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.

briis commented 1 year ago

Yes the value is derived from the icon. When it occurs, try and switch the UI language to English at se what is says then. It might be as simple as a translation key that is missing.

briis commented 11 months ago

This issue is more than 3 month old. Closing now.

lostcontrol commented 11 months ago

Sorry, I should have followed this issue more closely. I haven't seen the issue in the meantime. Maybe it will re-appear during winter. I'll reopen if it pops up again.