core/tests/components
Niccolò Maggioni 0232c8dcb0
Add temperature to the light color mode parameter fallbacks (#86026)
* Add color temperature to the color mode fallbacks

* Manually add ATTR_COLOR_TEMP since ATTR_COLOR_TEMP_KELVIN is pre-parsed

* Include the legacy ATTR_COLOR_TEMP attribute in the tests

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Add citation for McCamy's approximation formula

If still existing, also see page 3 of https://www.st.com/resource/en/application_note/an5638-how-correlated-color-temperature-is-calculated-by-vd6283-stmicroelectronics.pdf

* Update homeassistant/util/color.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-12-01 08:26:07 +01:00
..
2023-11-29 08:43:48 +01:00
2023-10-06 10:22:51 +02:00
2023-10-28 14:53:34 +02:00
2023-11-06 20:24:01 +01:00
2023-11-29 16:13:54 +01:00
2023-08-21 12:19:55 +02:00
2023-10-12 13:13:44 +02:00
2023-11-07 14:11:54 +01:00
2023-10-20 12:02:43 +02:00
2023-08-31 06:36:07 +02:00
2023-10-20 20:20:17 +02:00
2023-08-19 08:17:17 -04:00
2023-11-06 23:31:54 +01:00
2023-07-23 22:00:26 +02:00
2023-10-10 21:12:43 +02:00
2023-10-12 13:15:25 +02:00
2023-11-10 07:25:25 -06:00
2023-09-03 19:58:01 -05:00
2023-09-27 15:45:52 +02:00
2023-08-15 14:34:18 +02:00
2023-08-21 19:14:07 +02:00