Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated weather forecast with new service call #1338

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

dasadi
Copy link
Contributor

@dasadi dasadi commented Apr 17, 2024

Motivation:

In HA Update 2024.04 the old way of retrieving the forecast data got removed and only the new get_forecasts service remains. This PR utilizes the new service to retrieve the forecast data. The service is supported since 2023.12.

Changes:

Changes the way retrieving forecast data: Instead of entity attribute use weather.get_forecasts service

Related issue (check one):

Checklist (check one):

  • I did not change any code (e.g. documentation changes)
  • The code change is tested and works locally.

Test-Hardware list (for code changes)

HA Version: 2024.2.1 and 2024.4.1
Zigbee2MQTT Version: - devcontainer
TRV Hardware: simulated - devcontainer

New device mappings

  • I avoided any changes to other device mappings
  • There are no changes in climate.py

@KartoffelToby KartoffelToby merged commit 219838f into KartoffelToby:master Apr 24, 2024
3 checks passed
@KartoffelToby
Copy link
Owner

@dasadi First thanks for your PR!

I would ask you if you can take a look @ #1344

I sounds Like there are different services 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no weather entity data found
2 participants