theneweinstein / somneo

Home Assistant custom component for Philips Someo
32 stars 18 forks source link

custom component is using deprecated NumberEntity (bug update 2022-07) #16

Closed Vato9394 closed 2 years ago

Vato9394 commented 2 years ago

LOGS: Entity None (<class 'custom_components.somneo.number.SomneoTime'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom component author. Entity None (<class 'custom_components.somneo.number.SomneoSnooze'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom component author. Entity None (<class 'custom_components.mass.number.CrossfadeDurationEntity'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom component author. Entity None (<class 'custom_components.mass.number.VolumeNormalizationTargetEntity'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom component author.

custom_components.somneo.number::SomneoTime 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. custom_components.somneo.number::SomneoSnooze 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. custom_components.huawei_solar.number::HuaweiSolarNumberEntity 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. custom_components.mass.number::CrossfadeDurationEntity 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. custom_components.mass.number::VolumeNormalizationTargetEntity 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.

This has probably to do with the new release: https://www.home-assistant.io/blog/2022/07/06/release-20227/ which updated to python 3.10.

theneweinstein commented 2 years ago

I just updated Somneo to fix this warning.

Vato9394 commented 2 years ago

Verified and solved. Closing issue.