mirror of
https://github.com/home-assistant/core.git
synced 2025-11-27 03:28:04 +00:00
Update integrations a-e to override extra_state_attributes() (#47756)
This commit is contained in:
@@ -70,7 +70,7 @@ class EtherscanSensor(Entity):
|
||||
return self._unit_of_measurement
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return the state attributes of the sensor."""
|
||||
return {ATTR_ATTRIBUTION: ATTRIBUTION}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user