mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-28 09:36:25 +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
|