mattsaxon / HASS-SpeakercraftMediaPlayer

Speakercraft Platform for Home Assistant
4 stars 1 forks source link

Deprecated methods will cease working in HA 2022.10 #48

Open mattsaxon opened 1 year ago

mattsaxon commented 1 year ago

Errors from log

2022-10-05 20:54:57.670 WARNING (MainThread) [homeassistant.components.number] custom_components.speakercraft_media.number::SpeakercraftTreble 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 integration author.
2022-10-05 20:54:57.687 WARNING (MainThread) [homeassistant.components.number] custom_components.speakercraft_media.number::SpeakercraftBass 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 integration author.

https://developers.home-assistant.io/blog/2022/06/14/number_entity_refactoring/

See similar fix made here https://github.com/AlexxIT/SonoffLAN/pull/903/files

mattsaxon commented 1 year ago

Fixed in https://github.com/mattsaxon/HASS-SpeakercraftMediaPlayer/pull/49