iprak / weatherapi

HomeAssistant custom integration to fetch data from weatherapi
MIT License
8 stars 3 forks source link

different of weather between weatherapi and météofrance #38

Open defaliz opened 3 weeks ago

defaliz commented 3 weeks ago

Hi, thanks for the work ! i've two weather integrations, and with weatherapi the weather today in Normandy is rainy ! (with meteo france integration weather is sunny, and it's the real weather today)

when i use weatherapi with curl api, the information is good, but not with HA ? may be there is a problem with latitude and longitude, but i don't know how change it... regards

iprak commented 3 weeks ago

The latitude/longitude is defined when the integration is added. Can you let me know the values so that I can check. Also, can you check the log to see if the data update failed?

defaliz commented 3 weeks ago

thanks for reply... the datas are : Lat/Lon: 49.9, 1.27 but since my post, now the text is "sunny" like for meteo france... i think it was some problem with updating, now all is OK ! (you can closed my post) sorry for disturbing... regards

iprak commented 3 weeks ago

I think it might be worth considering if the weather state should be cleared if the data fetch failed. I have seen data fetch fail occasionally and then it corrects itself. Showing the last good state doesn't feel correct.