Breina / ha-artnet-led

DMX lighting Integration for Home Assistant. Using the HA Color Mode update and Pyartnet library to control lights in multiple DMX universes over ethernet with the Art-Net protocol.
MIT License
104 stars 9 forks source link

using deprecated supported features values LightEntityFeature.FLASH|TRANSITION #52

Closed hkusulja closed 2 weeks ago

hkusulja commented 5 months ago

Hello, I have started using this great addon. However in logs there are warnings that should be resolved, therefore opening this Issue.

2024-01-14 18:55:12.834 WARNING (MainThread) [homeassistant.components.light] Entity light.my_rgbww_lamp1 (<class 'custom_components.artnet_led.light.DmxRGBWW'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.FLASH|TRANSITION: 40> and color modes, please create a bug report at https://github.com/Breina/ha-artnet-led/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

djripcord commented 5 months ago

Can confirm this is a problem and am seeing the same errors in logs. Right now, this is not a fatal bug, but it needs to be fixed before the end of 2024.

Breina commented 4 months ago

Fixed in v0.1.20

Please test :)

hkusulja commented 4 months ago

i am new to HACS etc., i need to learn how to change from main branch to this (which?) test branch, I will test, tx

Breina commented 4 months ago

HACS > Integrations > Art-net LED Lighting for DMX > Update > Update

image

Then restart HA

hkusulja commented 2 weeks ago

Resolved