Fix missing default value in fritz scan_devices (#49668)

pull/49671/head
Marc Mueller 2021-04-25 20:28:40 +02:00 committed by GitHub
parent 510a3ae915
commit 7b33ed11c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class FritzBoxTools:
"""Retrieve latest information from the FRITZ!Box."""
return self.fritzhosts.get_hosts_info()
def scan_devices(self, now: datetime | None) -> None:
def scan_devices(self, now: datetime | None = None) -> None:
"""Scan for new devices and return a list of found device ids."""
_LOGGER.debug("Checking devices for FRITZ!Box router %s", self.host)