From 02f60770e8ff4a0247c5669bcc6ebf9d137add8a Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Sat, 21 Dec 2024 08:28:13 +0000 Subject: [PATCH] Try to fix issue #702 --- custom_components/versatile_thermostat/base_thermostat.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_components/versatile_thermostat/base_thermostat.py b/custom_components/versatile_thermostat/base_thermostat.py index 2a9e65b..1578f28 100644 --- a/custom_components/versatile_thermostat/base_thermostat.py +++ b/custom_components/versatile_thermostat/base_thermostat.py @@ -82,6 +82,10 @@ T = TypeVar("T", bound=UnderlyingEntity) class BaseThermostat(ClimateEntity, RestoreEntity, Generic[T]): """Representation of a base class for all Versatile Thermostat device.""" + # breaking change with 2024.12 climate workaround + _attr_swing_horizontal_modes = [] + _attr_swing_horizontal_mode = "" + _entity_component_unrecorded_attributes = ( ClimateEntity._entity_component_unrecorded_attributes.union( frozenset(