mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-16 20:38:02 +00:00
Make Light and Fan a common module interface (#911)
This commit is contained in:
@@ -28,7 +28,7 @@ async def test_temperature_control_features(dev, feature, type):
|
||||
prop = getattr(temp_module, feature)
|
||||
assert isinstance(prop, type)
|
||||
|
||||
feat = temp_module._module_features[feature]
|
||||
feat = dev.features[feature]
|
||||
assert feat.value == prop
|
||||
assert isinstance(feat.value, type)
|
||||
|
||||
|
Reference in New Issue
Block a user