LaggAt / hacs-govee

A HACS repository for Govee light integration
MIT License
272 stars 63 forks source link

Recieving depreciation error #158

Open XsqrdLabsAdmin opened 9 months ago

XsqrdLabsAdmin commented 9 months ago

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```
macthere commented 8 months ago

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.

Kaeybe commented 8 months ago

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