From 6fa762a113bfeb2e6d0a123370fd72d981cca13e Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 29 Mar 2025 01:10:58 -0400 Subject: [PATCH] Adjust scheduling for ridiculously OP air conditioner --- packages/scheduling.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/scheduling.yaml b/packages/scheduling.yaml index 7febd84..87c22b5 100644 --- a/packages/scheduling.yaml +++ b/packages/scheduling.yaml @@ -732,11 +732,11 @@ script: {% set low = states('sensor.overnight_lowest_temperature') | int %} {% set bedtime = state_attr('input_datetime.emma_bedtime','timestamp') | int %} {% if is_state('input_boolean.hot_day','on') %} - {{ (bedtime - 7200) | timestamp_custom('%H:%M',false) }} - {% elif high >= 80 or low >= 60 %} {{ (bedtime - 5400) | timestamp_custom('%H:%M',false) }} - {% else %} + {% elif high >= 80 or low >= 60 %} {{ (bedtime - 3600) | timestamp_custom('%H:%M',false) }} + {% else %} + {{ (bedtime - 1800) | timestamp_custom('%H:%M',false) }} {% endif %} - service: input_boolean.turn_on target: