xiaomi_miot_raw icon indicating copy to clipboard operation
xiaomi_miot_raw copied to clipboard

Deprecated methods used in home assistant (unsupported starting october 2022)

Open HakunaMatmata opened this issue 2 years ago • 3 comments

Hello,

Thank you for your work, this is a great integration for home assistant. I deployed it successfully yesterday :)

Just had this warning, that indicates end of support by home assistant for certain methods used (warning pasted at the bottom) Can you please dig in and ensure support past october? I remain available if you need tests / infos. Thank you,

--

2022-07-18 11:01:22 WARNING (MainThread) [homeassistant.components.number] custom_components.xiaomi_miot_raw.number::MiotNumberInput 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.

HakunaMatmata avatar Jul 18 '22 09:07 HakunaMatmata

Same here: Logger: homeassistant.components.number Source: components/number/init.py:220 Integration: Nummer (documentation, issues) First occurred: 10:55:01 (1 occurrences) Last logged: 10:55:01

custom_components.xiaomi_miot_raw.number::MiotNumberInput 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.

Thanks for the good work

kroona avatar Jul 19 '22 09:07 kroona

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

chertvl avatar Sep 03 '22 06:09 chertvl

This fix removes the error. Replace the file along the path of custom_components/xiaomi_miot_raw/number.py number.py.zip

e2002 avatar Nov 30 '22 18:11 e2002