question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning: Overriding Deprecated Methods

See original GitHub issue
custom_components.pirateweather.weather::DarkSkyWeather is overriding deprecated methods on an instance of WeatherEntity, this is not valid and will be unsupported from Home Assistant 2023.1. Please report it to the custom component author.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
alexander0042commented, Jul 7, 2022

Hi,

Thanks for using this API and reporting the issue! I’m seeing this now as well now, and it’s documented as an [alert from Home Assistant]https://developers.home-assistant.io/blog/2022/06/27/weather_entity_refactoring) in their blog.

The good news here is that there isn’t any immediate action required, I just need to be sure things are updated by January 2023. The development branch (not working yet, but in progress) will address this, as well as adding GUI config and other fun updates.

I’ll keep this issue open to document progress here. For now. consider it successfully reported to the developer!

0reactions
alexander0042commented, Dec 21, 2022

And we’re live! I pushed this update out via HACS today, so I’m going to close this thread for now. Thanks again for reporting this issue and using this API, and please don’t hesitate to open a new issue if anything else comes up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java: How to avoid deprecated warning in derived interfaces ...
I believe your requirement is valid, I have no doubt that overriding the deprecated method is the correct way to go.
Read more >
@Deprecated should warn if you're overriding a ... - GitHub
Overriding a deprecated member: If the package maintainers don't have control over the class they're inheriting from, they can either switch to ...
Read more >
Deprecated Methods in the 1.1 AWT
Deprecated Method Class Where Deprecated 1.1 Replacement allowsMultipleSelections List isMultipleMode appendText TextArea append bounds Component getBounds
Read more >
How and When to Deprecate APIs - Oracle Help Center
Using the annotation causes the Java compiler to generate warnings when the deprecated class, method, or field is used. The compiler suppresses deprecation...
Read more >
Do not propagate method deprecation through overrides
Note, that suppressing the [OverridingDeprecatedMember] warning in the B.foo() declaration does not change the behavior for the [DEPRECATION]. It is still ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found