Issue #189 - cannot remove window auto detection

This commit is contained in:
Jean-Marc Collin
2023-12-03 17:59:48 +00:00
parent fad1c4136a
commit 5df77a1f74
2 changed files with 13 additions and 4 deletions
@@ -173,6 +173,7 @@ class BaseThermostat(ClimateEntity, RestoreEntity):
"timezone",
"window_sensor_entity_id",
"window_delay_sec",
"window_auto_enabled",
"window_auto_open_threshold",
"window_auto_close_threshold",
"window_auto_max_duration",
@@ -2207,6 +2208,7 @@ class BaseThermostat(ClimateEntity, RestoreEntity):
"timezone": str(self._current_tz),
"window_sensor_entity_id": self._window_sensor_entity_id,
"window_delay_sec": self._window_delay_sec,
"window_auto_enabled": self.is_window_auto_enabled,
"window_auto_open_threshold": self._window_auto_open_threshold,
"window_auto_close_threshold": self._window_auto_close_threshold,
"window_auto_max_duration": self._window_auto_max_duration,