From fe3e21ce62ecb5aba9453eb9e2222d3b64c30fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=2E=20=C3=81rkosi=20R=C3=B3bert?= Date: Wed, 8 Dec 2021 12:51:22 +0100 Subject: [PATCH] Update cover.py --- custom_components/cover_rf_time_based/cover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/cover_rf_time_based/cover.py b/custom_components/cover_rf_time_based/cover.py index bc16b42..a8cd7f8 100644 --- a/custom_components/cover_rf_time_based/cover.py +++ b/custom_components/cover_rf_time_based/cover.py @@ -202,7 +202,7 @@ def unique_id(self): return "cover_rf_timebased_uuid_" + self._unique_id @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return the device state attributes.""" attr = {} if self._travel_time_down is not None: