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.

XNumber/XPulseWidth is overriding deprecated methods on an instance of NumberEntity

See original GitHub issue

Newest 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:closed
  • Created a year ago
  • Reactions:61
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
AlexxITcommented, Sep 24, 2022

Will be fixed again

2reactions
snp88commented, Sep 1, 2022

Any news regarding this issue ? according message one month left to fix this

Read more comments on GitHub >

github_iconTop 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 >

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