RedMeKool / HA-Raspberry-pi-GPIO-PWM

Home Assistant component rpi_gpio_pwm as a custom component
MIT License
35 stars 12 forks source link

Update for ha core 2025.1 and 2025.3 #49

Closed casse-boubou closed 4 months ago

casse-boubou commented 5 months ago

Hi, I updated light.py to replace SUPPORT_TRANSITION and SUPPORT_BRIGHTNESS which are two functions soon to be deprecated by the new standards requested by HA CORE. This removes error messages that could occur when configuring a light and solve the issue report here https://github.com/RedMeKool/HA-Raspberry-pi-GPIO-PWM/issues/29

nielsnl68 commented 4 months ago

How can i test this PR on my HA? Also i hope, when this PR works, it can merge soon.

casse-boubou commented 4 months ago

How can i test this PR on my HA? Also i hope, when this PR works, it can merge soon.

You can download from my fork and copy to your HA

dragonjon commented 4 months ago

For my is working! thanks @erdnaxela02