issue #790 - hvac-off-reason is not restored after restart (#793)

Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
Jean-Marc Collin
2025-01-08 08:22:09 +01:00
committed by GitHub
parent ee3b803db1
commit a637c2841c
3 changed files with 2 additions and 4 deletions

View File

@@ -605,8 +605,6 @@ class BaseThermostat(ClimateEntity, RestoreEntity, Generic[T]):
"saved_preset_mode", None
)
self._hvac_off_reason = old_state.attributes.get("hvac_mode_reason", None)
old_total_energy = old_state.attributes.get(ATTR_TOTAL_ENERGY)
self._total_energy = old_total_energy if old_total_energy is not None else 0
_LOGGER.debug(

View File

@@ -14,6 +14,6 @@
"quality_scale": "silver",
"requirements": [],
"ssdp": [],
"version": "7.1.0",
"version": "7.1.1",
"zeroconf": []
}

View File

@@ -1 +1 @@
homeassistant==2024.12.3
homeassistant==2024.12.4