mawinkler / astroweather

Asynchronous Astro Weather Forecast for Home Assistant
GNU General Public License v3.0
69 stars 9 forks source link

The integration astroweather is using the deprecated forecast attribute. #32

Closed heinemannj closed 11 months ago

heinemannj commented 1 year ago

After upgrading of HA to

Home Assistant 2023.9.0
Supervisor 2023.08.3
Operating System 10.5
Frontend 20230906.1 - latest

the following waring pop's up:

The integration astroweather is using the deprecated forecast attribute.

Please check:

https://www.home-assistant.io/blog/2023/09/06/release-20239/#weather-forecast-service

BaltasarParreira commented 1 year ago

Hi, yes I started getting the same warning after install the lasted core (not a beta one).

marwinsworld commented 1 year ago

You're both correct, I missed that. Will take care of that.

Snakebiteuk commented 1 year ago

You're both correct, I missed that. Will take care of that.

Perfect just updated to see the same. Thank you.

villaniclaudio8 commented 1 year ago

Hi, I wanted to know if the correction has been made for the message you receive after updating Home Assistant to 9.0. I tried to uninstall in Integration of HACS Astroweather reboot and then reinstall it but the message astroweather uses deprecated forecast attribute still has the error. What can be done to remedy the problem? Thank you

heinemannj commented 1 year ago

Hi, I wanted to know if the correction has been made for the message you receive after updating Home Assistant to 9.0. I tried to uninstall in Integration of HACS Astroweather reboot and then reinstall it but the message astroweather uses deprecated forecast attribute still has the error. What can be done to remedy the problem? Thank you

Maby you have to wait, until our famous developers take there private time/efforts to help the community with requirerd fixes???

Davvy80 commented 12 months ago

Same notice

fuzzysb commented 12 months ago

So see that from Here there is a new service to get the forecast, the forecast attribute below is no longer supported:

image

I have been reviewing the code, if i can help any maybe share branch with WIP, i can see if i can also assist

mawinkler commented 12 months ago

I'll fix this as time permits. Currently, it's just a deprecation warning and will continue to work until the release 2024.3.

mawinkler commented 12 months ago

You might test it. Deploy from the main branch, since I haven't made a new release yet. It's just a quick fix to provide the service and still be compatible with the lovelace card.

ejpenney commented 11 months ago

I just installed from main and everything looks great, all the data is still present and the repair message is gone.

B4dC4rd commented 11 months ago

Still have the warning on my side

heinemannj commented 11 months ago

You might test it. Deploy from the main branch, since I haven't made a new release yet. It's just a quick fix to provide the service and still be compatible with the lovelace card.

The replacement of weather.py and a restart of HA has removed the warning.

Many thanks!

fuzzysb commented 11 months ago

no warning for me any more either

flight82 commented 11 months ago

You might test it. Deploy from the main branch, since I haven't made a new release yet. It's just a quick fix to provide the service and still be compatible with the lovelace card.

It worked for me. Thanks!

Davvy80 commented 11 months ago

i don't understand the solution which is, how i can make? somebody can splain

ejpenney commented 11 months ago

i don't understand the solution which is, how i can make? somebody can splain

The dev was looking for folks to test a change, if you don't know how to do that it's probably just best to wait for the release which, based on the feedback, I would suspect is coming soon.

Davvy80 commented 11 months ago

i don't understand the solution which is, how i can make? somebody can splain

The dev was looking for folks to test a change, if you don't know how to do that it's probably just best to wait for the release which, based on the feedback, I would suspect is coming soon.

Very gentleman i'll waiting next update, thank you

mdisabato commented 11 months ago

I'll add my confirmation to the fix working. No warning and all the data is present.

Thank you so much! :)

mawinkler commented 11 months ago

Thank you all for testing. Just released v0.23.2.