mirror of
https://github.com/home-assistant/core.git
synced 2025-11-06 01:19:29 +00:00
Improve entity type hints [t] (#77883)
This commit is contained in:
@@ -98,7 +98,7 @@ class Ted5000Sensor(SensorEntity):
|
||||
with suppress(KeyError):
|
||||
return self._gateway.data[self._mtu][self._unit]
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Get the latest data from REST API."""
|
||||
self._gateway.update()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user