XNumber/XPulseWidth is overriding deprecated methods on an instance of NumberEntity
See original GitHub issueNewest release 3.1.0 gives the following warnings in HA logs:
2022-07-07 12:53:53 WARNING (MainThread) [homeassistant.components.number] custom_components.sonoff.number::XNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
2022-07-07 12:53:53 WARNING (MainThread) [homeassistant.components.number] custom_components.sonoff.number::XPulseWidth is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
2022-07-07 12:53:53 WARNING (MainThread) [homeassistant.components.number] custom_components.sonoff.number::XPulseWidth is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.
All works fine at the moment.
edit: TO OTHER USERS: no need to report ‘same here’ or alike messages. Your component is still working fine, this is a dev warning. IF you want to report that you are seeing the same, just hit the thumbs-up button in this post.
Issue Analytics
- State:
- Created a year ago
- Reactions:61
- Comments:19 (2 by maintainers)
Top Results From Across the Web
Depricated NumberEntity Features - Home Assistant Community
openWBNumber'>) is using deprecated NumberEntity features which will be unsupported ... this is one of my “number entities” for example:
Read more >Deprecations On Overriding Method - java - Stack Overflow
A Java compiler must produce a deprecation warning when a type, method, field, or constructor whose declaration is annotated with @Deprecated is ...
Read more >Deprecated List (Java SE 10 & JDK 10 ) - Oracle Help Center
The finalize method has been deprecated and will be removed. Subclasses that override finalize in order to perform cleanup should be modified 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 >Do not propagate method deprecation through overrides
Existing behavior. Historically, Kotlin has been propagating @Deprecated annotation via method and property overrides, for example: open class ...
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
Will be fixed again
Any news regarding this issue ? according message one month left to fix this