Update integrations a-e to override extra_state_attributes() (#47756)

This commit is contained in:
Erik Montnemery
2021-03-11 16:51:03 +01:00
committed by GitHub
parent f92b75cbb2
commit 6c084ae6ce
106 changed files with 130 additions and 130 deletions

View File

@@ -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}