Extend KL400 ct range to 2500-900 + add KL400L10(US) fixture (#1819)
Some checks failed
CI / Perform Lint Checks (3.15) (push) Has been cancelled
CI / Python 3.11 on macos-latest (push) Has been cancelled
CI / Python 3.12 on macos-latest (push) Has been cancelled
CI / Python 3.13 on macos-latest (push) Has been cancelled
CI / Python 3.14 on macos-latest (push) Has been cancelled
CI / Python 3.15 on macos-latest (push) Has been cancelled
CI / Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Python 3.12 on ubuntu-latest (push) Has been cancelled
CI / Python 3.13 on ubuntu-latest (push) Has been cancelled
CI / Python 3.14 on ubuntu-latest (push) Has been cancelled
CI / Python 3.15 on ubuntu-latest (push) Has been cancelled
CI / Python 3.11 on windows-latest (push) Has been cancelled
CI / Python 3.12 on windows-latest (push) Has been cancelled
CI / Python 3.13 on windows-latest (push) Has been cancelled
CI / Python 3.14 on windows-latest (push) Has been cancelled
CI / Python 3.15 on windows-latest (push) Has been cancelled
CodeQL Checks / Analyze (python) (push) Has been cancelled

This commit is contained in:
michael-bohr
2026-10-31 19:48:36 -04:00
committed by GitHub
parent 304b51645e
commit 81243ed87f
5 changed files with 185 additions and 4 deletions

View File

@@ -102,6 +102,17 @@ async def test_unknown_temp_range(
assert "Unknown color temperature range, fallback to 2700-5000" in caplog.text
@variable_temp_iot
@pytest.mark.xdist_group(name="caplog")
async def test_known_temp_range(dev: IotBulb, caplog: pytest.LogCaptureFixture) -> None:
light = dev.modules.get(Module.Light)
assert light
color_temp_feat = light.get_feature("color_temp")
assert color_temp_feat
assert color_temp_feat.range
assert "Unknown color temperature range" not in caplog.text
@dimmable_iot
@turn_on
async def test_dimmable_brightness(dev: IotBulb, turn_on: bool) -> None: