1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

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