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

Compatibility fix for Home Assistant Core 2024.7 #705

Merged
merged 3 commits into from
Jun 28, 2024
Merged

Conversation

decompil3d
Copy link
Owner

Fixes #704

Home Assistant Core 2024.7 drops the deprecated get_forecast service. This card was using the existence of that service to determine whether to use the more modern web socket subscription mechanism of retrieving forecasts or to use the older forecast attribute on the entity. The fix is simply to look for either the older get_forecast OR the newer get_forecasts for this check.

Copy link

cypress bot commented Jun 28, 2024

Passing run #157 ↗︎

0 86 0 0 Flakiness 0

Details:

Merge f70b8cf into 0a241d7...
Project: Lovelace Hourly Weather Commit: a7e705f35f ℹ️
Status: Passed Duration: 01:10 💡
Started: Jun 28, 2024 9:03 PM Ended: Jun 28, 2024 9:04 PM

Review all test suite changes for PR #705 ↗︎

@decompil3d decompil3d merged commit a2ce016 into main Jun 28, 2024
6 checks passed
@decompil3d decompil3d deleted the ha-2024.7-compat branch June 28, 2024 21:04
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.

Card Stop work 2024.7.0b0
1 participant