change entity.py to use extra_state_attributes (#66)

This commit is contained in:
Justin Goette 2021-12-05 14:07:40 -05:00 committed by GitHub
parent b7a5860bbf
commit 907de1aaab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ class IntegrationBlueprintEntity(CoordinatorEntity):
} }
@property @property
def device_state_attributes(self): def extra_state_attributes(self):
"""Return the state attributes.""" """Return the state attributes."""
return { return {
"attribution": ATTRIBUTION, "attribution": ATTRIBUTION,