From bc6727aafd55d80863dad4233c059dbeca0b0353 Mon Sep 17 00:00:00 2001 From: Dave Code <34915602+dave-code-ruiz@users.noreply.github.com> Date: Fri, 17 Dec 2021 14:26:50 +0100 Subject: [PATCH] change device_state -> extra_state --- custom_components/uhomeuponor/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/uhomeuponor/climate.py b/custom_components/uhomeuponor/climate.py index 7af29e7..acfbf1d 100644 --- a/custom_components/uhomeuponor/climate.py +++ b/custom_components/uhomeuponor/climate.py @@ -170,7 +170,7 @@ def target_temperature(self): return self.thermostat.by_name('room_setpoint').value @property - def device_state_attributes(self): + def extra_state_attributes(self): return { ATTR_TECHNICAL_ALARM: self.thermostat.by_name('technical_alarm').value, ATTR_RF_SIGNAL_ALARM: self.thermostat.by_name('rf_alarm').value,