Improve entity type hints [e] (#77041)

This commit is contained in:
epenet
2022-08-20 07:52:55 +02:00
committed by GitHub
parent 21cd2f5db7
commit 3a3f41f3df
32 changed files with 138 additions and 111 deletions

View File

@@ -83,7 +83,7 @@ class EtherscanSensor(SensorEntity):
"""Return the state attributes of the sensor."""
return {ATTR_ATTRIBUTION: ATTRIBUTION}
def update(self):
def update(self) -> None:
"""Get the latest state of the sensor."""
if self._token_address: