Improve entity type hints [e] (#77041)
This commit is contained in:
parent
21cd2f5db7
commit
3a3f41f3df
32 changed files with 138 additions and 111 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue