change entity.py to use extra_state_attributes (#66)

This commit is contained in:
Justin Goette
2021-12-05 20:07:40 +01:00
committed by GitHub
parent b7a5860bbf
commit 907de1aaab
@@ -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,