Warning: Overriding Deprecated Methods
See original GitHub issuecustom_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:
- Created a year ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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!
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.