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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 130 additions and 130 deletions

View file

@ -121,7 +121,7 @@ class DiscogsSensor(Entity):
return SENSORS[self._type]["unit_of_measurement"]
@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the device state attributes of the sensor."""
if self._state is None or self._attrs is None:
return None