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

@ -71,7 +71,7 @@ class SmartPlugSwitch(SwitchEntity):
return self._name
@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes of the device."""
try:
ui_temp = self.units.temperature(int(self.data.temperature), TEMP_CELSIUS)