Closed fabianschaefer closed 2 years ago
flux documentation flux source (message by IssueLinks)
Hmm, I think the Flux integration should be fixed as it sends values outside the range of the light. I can put a fix in the Hue integration but maybe other integrations are impacted by this too.
The min/max values are reported for each light as state attributes so can easily be checked.
@marcelveldt I’m with you, that the root cause should be fixed in Flux. But would it make sense to make sure that no higher/lower value than the max/min value is sent to the Hue API. That would make the Hue integration a bit more robust and will make sure it can even handle invalid inputs. Something similar is already implemented with other parameters like brightness. If I call the light.turn_on with a brightness value of >255, it will just set it to the maximum instead of throwing an error.
The problem
Since updating to Version 2021.12.5 (I directly updated to .5 from the last major release) Flux stopped working in mired mode. The issue only appears during night times when Flux return mired values >500. It looks like the light.turn_on function only accepts values up to 500. It worked before this update, so it might be caused by the new Philips Hue component which checks if this value is within the accepted range. So either Flux needs to be fixed in order to not return mired values over 500 or the Hue Integration should allow such values.
What version of Home Assistant Core has the issue?
core-2021.12.5
What was the last working version of Home Assistant Core?
core-2021.11
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Philips Hue, Flux
Link to integration documentation on our website
https://www.home-assistant.io/integrations/flux/ https://www.home-assistant.io/integrations/hue/
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response