Improve entity type hints [n] (#77824)
This commit is contained in:
parent
42393db9f3
commit
420733a064
22 changed files with 69 additions and 59 deletions
|
@ -130,7 +130,7 @@ class NOAATidesAndCurrentsSensor(SensorEntity):
|
|||
return f"Low tide at {tidetime}"
|
||||
return None
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Get the latest data from NOAA Tides and Currents API."""
|
||||
begin = datetime.now()
|
||||
delta = timedelta(days=2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue