hacs-govee icon indicating copy to clipboard operation
hacs-govee copied to clipboard

Recieving depreciation error

Open XsqrdLabsAdmin opened this issue 11 months ago • 2 comments

Version of the custom_component

Configuration


Add your logs here.

Describe the bug

A clear and concise description of what the bug is.

Debug log


Add your logs here.

```Logger: homeassistant.components.light
Source: components/light/__init__.py:1242
Integration: Light (documentation, issues)
First occurred: 13:21:46 (2 occurrences)
Last logged: 13:21:46

Entity None (<class 'custom_components.govee.light.GoveeLightEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 19> and color modes, please create a bug report at https://github.com/LaggAt/hacs-govee/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation```

XsqrdLabsAdmin avatar Feb 26 '24 20:02 XsqrdLabsAdmin

I also have this error. Per the logs (happens with each device),

"<class 'custom_components.govee.light.GoveeLightEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1 Instead it should use <LightEntityFeature: 19> and color modes, please create a bug report at https://github.com/LaggAt/hacs-govee/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation".

My issue started after my latest update to HA Core, so that tracks.

macthere avatar Mar 01 '24 20:03 macthere

I have the same error in HA docker 2024.3.0 :

Entity None (<class 'custom_components.govee.light.GoveeLightEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 19> and color modes, please create a bug report at https://github.com/LaggAt/hacs-govee/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

and this:

Registratore: homeassistant.components.light Fonte: components/light/init.py:1269 integration: Luce (documentazione, problemi) Prima occorrenza: 22:30:45 (1 occorrenze) Ultima registrazione: 22:30:45

None (<class 'custom_components.govee.light.GoveeLightEntity'>) 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/LaggAt/hacs-govee/issues

Kaeybe avatar Mar 10 '24 22:03 Kaeybe