Improve entity type hints [w] (#77886)

This commit is contained in:
epenet
2022-09-06 13:59:37 +02:00
committed by GitHub
parent 050cb275ff
commit a6b6949793
12 changed files with 24 additions and 21 deletions

View File

@@ -110,7 +110,7 @@ class WorldTidesInfoSensor(SensorEntity):
return None
return None
def update(self):
def update(self) -> None:
"""Get the latest data from WorldTidesInfo API."""
start = int(time.time())
resource = (