Add colortemp feature for iot devices (#827)

Make color temperature feature available for iot bulbs.
This commit is contained in:
Teemu R
2024-03-26 19:33:10 +01:00
committed by GitHub
parent 35dbda7049
commit c08b58cd8b
2 changed files with 13 additions and 5 deletions

View File

@@ -133,11 +133,6 @@ async def test_variable_temp_state_information(dev: Bulb):
assert "Color temperature" in dev.state_information
assert dev.state_information["Color temperature"] == dev.color_temp
assert "Valid temperature range" in dev.state_information
assert (
dev.state_information["Valid temperature range"] == dev.valid_temperature_range
)
@variable_temp
@turn_on