fix: v1.5.3 в режиме авто теперь отображается реально заданная желаемая температура. Раньше отображалась 30 град т.к. включением нагрева управляет логика а не тион
This commit is contained in:
+16
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user