Update gree to use the network component to set discovery interfaces (#75812)

This commit is contained in:
Jc2k 2022-08-06 21:45:44 +01:00 committed by GitHub
parent c580bce879
commit 1aa0e64354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 6 deletions

View file

@ -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)