mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 23:10:28 +00:00
Improve entity type hints [e] (#77041)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user