Update gree to use the network component to set discovery interfaces (#75812)
This commit is contained in:
parent
c580bce879
commit
1aa0e64354
6 changed files with 13 additions and 6 deletions
|
@ -28,7 +28,7 @@ class FakeDiscovery:
|
|||
"""Add an event listener."""
|
||||
self._listeners.append(listener)
|
||||
|
||||
async def scan(self, wait_for: int = 0):
|
||||
async def scan(self, wait_for: int = 0, bcast_ifaces=None):
|
||||
"""Search for devices, return mocked data."""
|
||||
self.scan_count += 1
|
||||
_LOGGER.info("CALLED SCAN %d TIMES", self.scan_count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue