-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No lookup file found for mode: color_temp #2247
Comments
Which integration are you using for the lights? Powercalc validates that a lookup file exists for every color mode the light supports. This issue appeared in the past with Hue integration and also Tapo P100 integration. I might consider removing the upfront validation during setup and just create the power sensor. What happens when you select color_temp on the bloom light? Is it actually doing something? |
I have changed the Powercalc logic to make things less error prone. Will be in next release. |
I'm using it via the HUE integration. It seems the HUE bridge changed!
Can I help to extend the model? |
When we can extract a formula somehow how to convert from a certain color_temp to a hsv value, I might implement that as a fallback. Assuming color_temp mode is selected.
|
There seem to be a formula/mapping already in HA: https://github.com/home-assistant/core/blob/dev/homeassistant/util/color.py#L505 |
Implemented with #2249 |
I just tried v1.12.3, and hte sensor is already back with that version, and indeed unavailable in color_temp mode. |
Yesssss fully fixed in 1.12.4. 🙏 |
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
I have 3 lights that only have colour control, no colour temp. Two of them are first gen blooms, the other is Led strip from the Lidl.
They worked fine, until I upgraded from core 2024.5.3 to the core 2024.5.4 today. I guess that is not related, except that I restarted HA after several days.
I included the debug log for both types.
Reproduction steps
...
Debug logs
Diagnostics dump or YAML config
Bloom properties in dev tools. It mentions that color-temp mode is supported, but it only has RGB lights:
The text was updated successfully, but these errors were encountered: