rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.86k stars 551 forks source link

custom_components.localtuya.light.LocaltuyaLight is using deprecated #1649

Open Sonic62 opened 8 months ago

Sonic62 commented 8 months ago

Hello

Error tuya light

`Détails du journal (AVERTISSEMENT) Logger: homeassistant.components.light Source: components/light/init.py:1194 Integration: Lumière (documentation, issues) First occurred: 23:42:13 (2 occurrences) Last logged: 23:42:13

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

Capture d'écran 2024-01-26 235254

Thx

Duke-Box commented 7 months ago

I have this issue as well.

fellev commented 7 months ago

I also have this issue.

Node815 commented 7 months ago

Came here for this via search so I know it's been logged.

neildsb commented 7 months ago

https://github.com/rospogrigio/localtuya/issues/1650