CorneliousJD / Flux_LED

Modifies homeassistant/components/flux_led/light.py to fix issue where LED lights using MagicHome controller turn off immediately after turning them on with V8 firmware.
25 stars 11 forks source link

LightEntity no longer supports white_value in Home Assistant #15

Open pgep opened 2 years ago

pgep commented 2 years ago

Light's white_value was deprecated in Home Assistant Core 2021.4 by PR #47720 and replaced by color mode white in Home Assistant Core 2021.7 by PR #51411. This change broke Flux_Led integration. I would like to know if there will be a fix for this change in HA.

Thanks

CorneliousJD commented 2 years ago

I would like to know if there will be a fix for this change in HA.

Are you able to do a PR for this? i am not currently using this integration but it should be a simple change if you're able to do a PR and test, I'll merge it?

pgep commented 2 years ago

Hi! I don't have enough knowledge in Python and I never developed for HA. I'm going to study and, if I can, I'll do the PR.

Em ter., 27 de set. de 2022 às 12:02, CorneliousJD @.***> escreveu:

I would like to know if there will be a fix for this change in HA.

Are you able to do a PR for this? i am not currently using this integration but it should be a simple change if you're able to do a PR and test, I'll merge it?

— Reply to this email directly, view it on GitHub https://github.com/CorneliousJD/Flux_LED/issues/15#issuecomment-1259639924, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG4PMUV2DXRLOYKY3LE4ATWAMEBRANCNFSM6AAAAAAQWY37AQ . You are receiving this because you authored the thread.Message ID: @.***>

Curros commented 2 years ago

With the new release of HASS, there is a new integration called Magic Home, works like a charm for me, no more need for this. @CorneliousJD really thanks for sharing this, I was using it for a lot of time flawlessly.

victorcs commented 2 years ago

With the new release of HASS, there is a new integration called Magic Home, works like a charm for me, no more need for this. @CorneliousJD really thanks for sharing this, I was using it for a lot of time flawlessly.

Hey @Curros, this integration is no longer supported:

https://www.home-assistant.io/integrations/flux_led/ "This integration does not support configuration through the UI. If you follow this link from the Home Assistant website, be sure to check for the latest version of Home Assistant."

I'm running: Home Assistant 2022.9.7 Supervisor 2022.09.1 Frontend: 20220907.2 - latest

Can you send how do you got the integration working?

Regards,

Curros commented 2 years ago

I just add the integration, and the integration pick automatically the IP of the lights, and everything start working.

damiaorocha commented 2 years ago

@victorcs I removed the custom component, and after restarting Home Assistant, the integration appeared and is working perfectly.