Add support for KS205 and KS225 wall switches (#594)

* KS205 Fixture

* KS225 Fixture

* Added Smart.KasaSwitch device type

* Added KS225 to test

* Added variable color temp check

* Added supported devices to readme

* Removed parenthesis

* Updated fixtures

* Fixed for ruff
This commit is contained in:
gimpy88
2024-01-03 13:31:42 -05:00
committed by GitHub
parent 30c4e6a6a3
commit c810298b04
8 changed files with 523 additions and 4 deletions

View File

@@ -171,7 +171,7 @@ async def test_non_variable_temp(dev: SmartBulb):
await dev.set_color_temp(2700)
with pytest.raises(SmartDeviceException):
dev.valid_temperature_range()
print(dev.valid_temperature_range)
with pytest.raises(SmartDeviceException):
print(dev.color_temp)