Fockaert / rika-firenet-custom-component

MIT License
21 stars 17 forks source link

deprecated methods on an instance of NumberEntity #18

Closed qbushome closed 2 years ago

qbushome commented 2 years ago

Hi

After upgrading to HA 2022.7 I saw this error/warning in the logs:

`Logger: homeassistant.components.number Source: components/number/init.py:220 Integration: Nummer (documentation, issues) First occurred: 13:36:14 (1 occurrences) Last logged: 13:36:14

custom_components.rika_firenet.number::RikaFirenetStoveNumber 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.`

Would you be so kind to take a look at this so we don't have issues during the heating-season ?

Thank you

Fockaert commented 2 years ago

Hi @qbushome ,

I'll take a look.

Thanks, Jan

Fockaert commented 2 years ago

Tested the fix locally and no warnings popped up, closing issue.