mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix Min/Max Kelvin color temp attribute for Google (#15697)
* Fix Min/Max Kelvin color temp attribute for Google Max Kelvin is actually Min Mireds and vice-versa. K = 1000000 / mireds * Update test_smart_home.py * Update test_trait.py
This commit is contained in:
committed by
Paulus Schoutsen
parent
48af5116b3
commit
38928c4c0e
@@ -414,8 +414,8 @@ async def test_color_temperature_light(hass):
|
||||
}))
|
||||
|
||||
assert trt.sync_attributes() == {
|
||||
'temperatureMinK': 5000,
|
||||
'temperatureMaxK': 2000,
|
||||
'temperatureMinK': 2000,
|
||||
'temperatureMaxK': 5000,
|
||||
}
|
||||
|
||||
assert trt.query_attributes() == {
|
||||
|
||||
Reference in New Issue
Block a user