Bump flux_led to 0.25.0 (#60460)
* Bump flux_led to 0.25.0 * Refactor color_temp_to_white_levels and improve code coverage by @bdraco in https://github.com/Danielhiversen/flux_led/pull/185 * Adjust protocol to handle newer models that send 0xB0 responses by @bdraco in https://github.com/Danielhiversen/flux_led/pull/186 * Fix effects with floor lamps by @bdraco in https://github.com/Danielhiversen/flux_led/pull/188 * Add support for CCT protocol aka 0x1C models by @bdraco in https://github.com/Danielhiversen/flux_led/pull/187 - Changelog: https://github.com/Danielhiversen/flux_led/compare/0.24.38...0.25.0 * handle change in color_temp_to_white_levels
This commit is contained in:
parent
3cd80b95db
commit
fa2399030a
4 changed files with 6 additions and 4 deletions
|
@ -346,7 +346,9 @@ class FluxLight(FluxOnOffEntity, CoordinatorEntity, LightEntity):
|
|||
brightness = kwargs.get(
|
||||
ATTR_BRIGHTNESS, self._device.getWhiteTemperature()[1]
|
||||
)
|
||||
cold, warm = color_temp_to_white_levels(color_temp_kelvin, brightness)
|
||||
channels = color_temp_to_white_levels(color_temp_kelvin, brightness)
|
||||
warm = channels.warm_white
|
||||
cold = channels.cool_white
|
||||
await self._device.async_set_levels(r=0, b=0, g=0, w=warm, w2=cold)
|
||||
return
|
||||
# Handle switch to RGB Color Mode
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Flux LED/MagicHome",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/flux_led",
|
||||
"requirements": ["flux_led==0.24.38"],
|
||||
"requirements": ["flux_led==0.25.0"],
|
||||
"quality_scale": "platinum",
|
||||
"codeowners": ["@icemanch"],
|
||||
"iot_class": "local_push",
|
||||
|
|
|
@ -658,7 +658,7 @@ fjaraskupan==1.0.2
|
|||
flipr-api==1.4.1
|
||||
|
||||
# homeassistant.components.flux_led
|
||||
flux_led==0.24.38
|
||||
flux_led==0.25.0
|
||||
|
||||
# homeassistant.components.homekit
|
||||
fnvhash==0.1.0
|
||||
|
|
|
@ -399,7 +399,7 @@ fjaraskupan==1.0.2
|
|||
flipr-api==1.4.1
|
||||
|
||||
# homeassistant.components.flux_led
|
||||
flux_led==0.24.38
|
||||
flux_led==0.25.0
|
||||
|
||||
# homeassistant.components.homekit
|
||||
fnvhash==0.1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue