mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-11-06 07:31:55 +00:00
Change state_information to return feature values (#804)
This changes `state_information` to return the names and values of all defined features. It was originally a "temporary" hack to show some extra, device-specific information in the cli tool, but now that we have device-defined features we can leverage them.
This commit is contained in:
@@ -28,7 +28,6 @@ async def test_effects_lightstrip_set_effect(dev: IotLightStrip):
|
||||
|
||||
await dev.set_effect("Candy Cane")
|
||||
assert dev.effect["name"] == "Candy Cane"
|
||||
assert dev.state_information["Effect"] == "Candy Cane"
|
||||
|
||||
|
||||
@lightstrip
|
||||
|
||||
Reference in New Issue
Block a user