diff --git a/Version.toml b/Version.toml index 0b19839..fbe88bb 100644 --- a/Version.toml +++ b/Version.toml @@ -1,8 +1,8 @@ [version] major = 1 minor = 5 -patch = 2 +patch = 3 [build] date = "2026-09-27" -time = "21:27:10" +time = "21:35:33" diff --git a/app/api.py b/app/api.py index b965af7..6636560 100644 --- a/app/api.py +++ b/app/api.py @@ -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, diff --git a/config/auto.yaml b/config/auto_template.yaml similarity index 100% rename from config/auto.yaml rename to config/auto_template.yaml diff --git a/config/schedule.yaml b/config/schedule_template.yaml similarity index 99% rename from config/schedule.yaml rename to config/schedule_template.yaml index 4276d05..1977ced 100644 --- a/config/schedule.yaml +++ b/config/schedule_template.yaml @@ -36,7 +36,6 @@ templates: weekend: - - time: "10:00" action: power: on @@ -62,16 +61,12 @@ templates: speed: 1 - - days: - mon: workday tue: workday wed: workday thu: workday fri: workday - sat: weekend sun: weekend