Update integrations p-s to override extra_state_attributes() (#47759)

This commit is contained in:
Erik Montnemery 2021-03-11 21:23:20 +01:00 committed by GitHub
parent 1fc8e32d86
commit 14ff6d4d1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 144 additions and 146 deletions

View file

@ -86,6 +86,6 @@ class SwitchBot(SwitchEntity, RestoreEntity):
return self._name
@property
def device_state_attributes(self) -> Dict[str, Any]:
def extra_state_attributes(self) -> Dict[str, Any]:
"""Return the state attributes."""
return {"last_run_success": self._last_run_success}