replace device_state_attributes. Issue #19

This commit is contained in:
Yordan Suarez
2021-12-13 12:04:03 -05:00
parent a5104fca90
commit ae79732f75

View File

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