BazaJayGee66 / homeassistant_cololight

Custom component to support Cololight in Home-Assistant
MIT License
47 stars 6 forks source link

after upgrading to 2024.2.0 I spotted this in my ha log, deprecated supported features values which will be removed in HA Core 2025.1 #37

Closed pim12345 closed 5 months ago

pim12345 commented 5 months ago

After upgrading HA to 2024.2.0. I spotted this warning message in my home assistant log:

Logger: homeassistant.components.light Source: components/light/init.py:1242 Integration: Licht (documentation, issues) First occurred: 14:34:37 (1 occurrences) Last logged: 14:34:37 Entity None (<class 'custom_components.cololight.light.coloLight'>) 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/BazaJayGee66/homeassistant_cololight/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

BazaJayGee66 commented 5 months ago

Thanks for raising.

This has been resolved with v2.0.3