mnordseth / enet-homeassistant

Enet Smart Home integration for Home Assistant
Apache License 2.0
26 stars 7 forks source link

Deprecated features #25

Closed FRvanderVeen closed 5 months ago

FRvanderVeen commented 5 months ago

In my HASS log I see the following warnings:

2024-03-12 20:46:22.874 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.enet.light.EnetLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/mnordseth/enet-homeassistant/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-03-12 20:46:22.875 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.enet.light.EnetLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/mnordseth/enet-homeassistant/issues

Not urgent yet, but thought I'll let you know

mnordseth commented 5 months ago

Thanks for reminding me. I published an update that resolves this.