HA-Raspberry-pi-GPIO-PWM icon indicating copy to clipboard operation
HA-Raspberry-pi-GPIO-PWM copied to clipboard

deprecated supported features (use of PwmSimpleLed)

Open mni82 opened this issue 1 year ago • 1 comments

System Health details

WARNING (MainThread) [homeassistant.components.light] Entity light.rpi_cooling_fan_rpi_gpio_pwm (<class 'custom_components.rpi_gpio_pwm.light.PwmSimpleLed'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.TRANSITION|1: 33> and color modes, please report it to the author of the 'rpi_gpio_pwm' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Checklist

  • [ ] I have enabled debug logging for my installation.
  • [ ] I have filled out the issue template to the best of my ability.
  • [ ] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • [ ] This issue is not a duplicate issue of currently previous issues..

Describe the issue

WARNING (MainThread) [homeassistant.components.light] Entity light.rpi_cooling_fan_rpi_gpio_pwm (<class 'custom_components.rpi_gpio_pwm.light.PwmSimpleLed'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.TRANSITION|1: 33> and color modes, please report it to the author of the 'rpi_gpio_pwm' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Reproduction steps

  1. Warning is shown in startup

Debug logs

See log after startup

Diagnostics dump

No response

mni82 avatar Jan 28 '24 12:01 mni82

I have the same issue as above.

nielsnl68 avatar May 10 '24 12:05 nielsnl68

Fixed by @erdnaxela02

RedMeKool avatar Jun 01 '24 08:06 RedMeKool