From 8e5daeb7ddc15ca02f6b6eca7732847fcc28cca3 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 26 Mar 2026 21:56:23 +0100 Subject: [PATCH] Fix override of state write in fritzbox (#166629) --- homeassistant/components/fritzbox/climate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/fritzbox/climate.py b/homeassistant/components/fritzbox/climate.py index 693d8bac566..8ba6fbd5f86 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -97,7 +97,7 @@ class FritzboxThermostat(FritzBoxDeviceEntity, ClimateEntity): super().__init__(coordinator, ain) @callback - def async_write_ha_state(self) -> None: + def _async_write_ha_state(self) -> None: """Write the state to the HASS state machine.""" if self.data.holiday_active: self._attr_supported_features = ClimateEntityFeature.PRESET_MODE @@ -109,7 +109,7 @@ class FritzboxThermostat(FritzBoxDeviceEntity, ClimateEntity): self._attr_supported_features = SUPPORTED_FEATURES self._attr_hvac_modes = HVAC_MODES self._attr_preset_modes = PRESET_MODES - return super().async_write_ha_state() + return super()._async_write_ha_state() @property def current_temperature(self) -> float: