mawinkler / astroweather

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

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

Closed heinemannj closed 1 year 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 1 year ago

Same notice

fuzzysb commented 1 year 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 1 year 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 1 year 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 1 year ago

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

B4dC4rd commented 1 year ago

Still have the warning on my side

heinemannj commented 1 year 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 1 year ago

no warning for me any more either

flight82 commented 1 year 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 1 year ago

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

ejpenney commented 1 year 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 1 year 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 1 year ago

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

Thank you so much! :)

mawinkler commented 1 year ago

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