From 04df1cfe4655ffb9b75389b09cb7bafd7fdbcc80 Mon Sep 17 00:00:00 2001 From: Daniel Goepp Date: Sun, 12 Dec 2021 06:18:23 -0500 Subject: [PATCH] Updating state attributes to match new home assistant rules. --- custom_components/kumo/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/kumo/climate.py b/custom_components/kumo/climate.py index 755043a..09b0d11 100644 --- a/custom_components/kumo/climate.py +++ b/custom_components/kumo/climate.py @@ -506,7 +506,7 @@ def _update_defrost(self): self._defrost = defrost @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return the state attributes of the device.""" attr = {} if self._battery_percent is not None: