mirror of
https://github.com/home-assistant/core.git
synced 2025-06-01 11:47:04 +00:00
Fix Fast.com autoupdate (#57552)
This commit is contained in:
parent
ffeb73a4f6
commit
c55e9136ee
@ -1,7 +1,7 @@
|
||||
"""Support for testing internet speed via Fast.com."""
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import timedelta
|
||||
from datetime import datetime, timedelta
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
@ -67,7 +67,7 @@ class SpeedtestData:
|
||||
self.data: dict[str, Any] | None = None
|
||||
self._hass = hass
|
||||
|
||||
def update(self) -> None:
|
||||
def update(self, now: datetime | None = None) -> None:
|
||||
"""Get the latest data from fast.com."""
|
||||
|
||||
_LOGGER.debug("Executing fast.com speedtest")
|
||||
|
Loading…
x
Reference in New Issue
Block a user