Improve entity type hints [w] (#77886)
This commit is contained in:
parent
050cb275ff
commit
a6b6949793
12 changed files with 24 additions and 21 deletions
|
@ -113,7 +113,7 @@ class WashingtonStateTravelTimeSensor(WashingtonStateTransportSensor):
|
|||
self._travel_time_id = travel_time_id
|
||||
WashingtonStateTransportSensor.__init__(self, name, access_code)
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Get the latest data from WSDOT."""
|
||||
params = {
|
||||
ATTR_ACCESS_CODE: self._access_code,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue