mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-13 02:48:07 +00:00
Add childsetup module to smartcam hubs (#1469)
Add the `childsetup` module for `smartcam` hubs to allow pairing and unpairing child devices.
This commit is contained in:
@@ -267,7 +267,11 @@ async def test_raw_command(dev, mocker, runner):
|
||||
from kasa.smart import SmartDevice
|
||||
|
||||
if isinstance(dev, SmartCamDevice):
|
||||
params = ["na", "getDeviceInfo"]
|
||||
params = [
|
||||
"na",
|
||||
"getDeviceInfo",
|
||||
'{"device_info": {"name": ["basic_info", "info"]}}',
|
||||
]
|
||||
elif isinstance(dev, SmartDevice):
|
||||
params = ["na", "get_device_info"]
|
||||
else:
|
||||
|
Reference in New Issue
Block a user