work: в режиме авто теперь отображается реально заданная желаемая температура. Раньше отображалась 30 град т.к. включением нагрева управляет логика а не тион

This commit is contained in:
2026-09-27 21:38:39 +03:00
parent f46ad0861d
commit 9a2fd3b959
4 changed files with 18 additions and 7 deletions
+16
View File
@@ -362,6 +362,22 @@ def get_status() -> dict:
auto_controller
.manual_target_temperature
)
elif (
tion_status is not None
and schedule_service is not None
):
resolution = schedule_service.resolve()
if (
resolution.enabled
and resolution.auto_active
and resolution.auto_target_temp is not None
):
tion_status["target_temp"] = (
resolution.auto_target_temp
)
return {
"online": service.online,