mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Add ColorModule for smart devices (#840)
Adds support L530 hw_version 1.0
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import pytest
|
||||
|
||||
from kasa.smart import SmartDevice
|
||||
from kasa.tests.conftest import parametrize
|
||||
|
||||
brightness = parametrize("colortemp smart", component_filter="color_temperature")
|
||||
from kasa.tests.conftest import variable_temp_smart
|
||||
|
||||
|
||||
@brightness
|
||||
@variable_temp_smart
|
||||
async def test_colortemp_component(dev: SmartDevice):
|
||||
"""Test brightness feature."""
|
||||
assert isinstance(dev, SmartDevice)
|
||||
|
Reference in New Issue
Block a user