mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
17 lines
370 B
Python
17 lines
370 B
Python
|
from kasa import Module
|
||
|
from kasa.smart import SmartDevice
|
||
|
|
||
|
from ...device_fixtures import parametrize
|
||
|
|
||
|
homekit = parametrize(
|
||
|
"has homekit", component_filter="homekit", protocol_filter={"SMART"}
|
||
|
)
|
||
|
|
||
|
|
||
|
@homekit
|
||
|
async def test_info(dev: SmartDevice):
|
||
|
"""Test homekit info."""
|
||
|
homekit = dev.modules.get(Module.HomeKit)
|
||
|
assert homekit
|
||
|
assert homekit.info
|