Improve entity type hints [t] (#77883)
This commit is contained in:
parent
0c767bd0d3
commit
458001a06e
29 changed files with 67 additions and 60 deletions
|
@ -119,7 +119,7 @@ class TMBSensor(SensorEntity):
|
|||
}
|
||||
|
||||
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Get the next bus information."""
|
||||
try:
|
||||
self._state = self._ibus_client.get_stop_forecast(self._stop, self._line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue