mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-12 18:38:03 +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:
@@ -691,12 +691,8 @@ class SmartDevice(Device):
|
||||
"""
|
||||
self._info = info
|
||||
|
||||
async def _query_helper(
|
||||
self, method: str, params: dict | None = None, child_ids: None = None
|
||||
) -> dict:
|
||||
res = await self.protocol.query({method: params})
|
||||
|
||||
return res
|
||||
async def _query_helper(self, method: str, params: dict | None = None) -> dict:
|
||||
return await self.protocol.query({method: params})
|
||||
|
||||
@property
|
||||
def ssid(self) -> str:
|
||||
|
Reference in New Issue
Block a user