From ae79732f75afb2cecefbddef8e408efffe478a12 Mon Sep 17 00:00:00 2001 From: Yordan Suarez Date: Mon, 13 Dec 2021 12:04:03 -0500 Subject: [PATCH] replace device_state_attributes. Issue #19 --- custom_components/fpl/fplEntity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/fpl/fplEntity.py b/custom_components/fpl/fplEntity.py index fa7ba8c..7b30d27 100644 --- a/custom_components/fpl/fplEntity.py +++ b/custom_components/fpl/fplEntity.py @@ -36,7 +36,7 @@ class FplEntity(CoordinatorEntity): return {} @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return the state attributes.""" attributes = { "attribution": ATTRIBUTION,