Requirements
Is your feature request related to a problem?
Currently, Mushroom Light Card uses color_temp (mireds) when controlling color temperature.
However, many modern Home Assistant integrations now use color_temp_kelvin instead, and may reject color_temp, causing errors like:
"extra keys not allowed @ data['color_temp']"
Thanks for your awesome work on Mushroom! 🙌
Describe the solution you'd like
Expected behavior
- Automatically detect if the light supports
color_temp_kelvin
- Use
color_temp_kelvin instead of color_temp when available
Why this matters
This would improve compatibility with newer integrations and avoid errors when using the color temperature slider.
Describe alternatives you've considered
No response
Additional context
No response
Requirements
Is your feature request related to a problem?
Currently, Mushroom Light Card uses
color_temp(mireds) when controlling color temperature.However, many modern Home Assistant integrations now use
color_temp_kelvininstead, and may rejectcolor_temp, causing errors like:"extra keys not allowed @ data['color_temp']"
Thanks for your awesome work on Mushroom! 🙌
Describe the solution you'd like
Expected behavior
color_temp_kelvincolor_temp_kelvininstead ofcolor_tempwhen availableWhy this matters
This would improve compatibility with newer integrations and avoid errors when using the color temperature slider.
Describe alternatives you've considered
No response
Additional context
No response