Add network support to tplink for discovery across subnets (#56721)

This commit is contained in:
J. Nick Koston 2021-09-28 09:58:25 -05:00 committed by GitHub
parent 0044fa9fb9
commit c95f7a5ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 10 deletions

View file

@ -87,7 +87,7 @@ def _mocked_strip() -> SmartStrip:
def _patch_discovery(device=None, no_device=False):
async def _discovery(*_):
async def _discovery(*args, **kwargs):
if no_device:
return {}
return {IP_ADDRESS: _mocked_bulb()}