Improve entity type hints [t] (#77883)

This commit is contained in:
epenet
2022-09-06 13:35:52 +02:00
committed by GitHub
parent 0c767bd0d3
commit 458001a06e
29 changed files with 67 additions and 60 deletions

View File

@@ -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()