From 38c94c7b33e939362fa61103ccab0db4d07f53b0 Mon Sep 17 00:00:00 2001 From: antonhagg Date: Mon, 6 Nov 2023 01:08:39 +0100 Subject: [PATCH 1/2] Update current_price_among_x_lowest_next_y_hours.json Added possibility to extend the period to 36 hours. Which is all the "know" hours when the prices are release from nordpool. --- .../conditions/current_price_among_x_lowest_next_y_hours.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json b/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json index 3db8aab..bb6c0b1 100644 --- a/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json +++ b/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json @@ -32,7 +32,7 @@ "name": "next_hours", "type": "number", "min": 1, - "max": 23, + "max": 36, "step": 1, "title": { "en": "Hours" @@ -42,4 +42,4 @@ } } ] -} \ No newline at end of file +} From 7f24c142ca5444f8c7190de2981b928655a46e2b Mon Sep 17 00:00:00 2001 From: antonhagg Date: Wed, 8 May 2024 16:32:30 +0200 Subject: [PATCH 2/2] Update current_price_among_x_lowest_next_y_hours.json Added support for comparing prices the coming 35 hours. From 13:00 the same day (when prices are published) until 00:00 the next day. --- .../conditions/current_price_among_x_lowest_next_y_hours.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json b/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json index bb6c0b1..5aa87bb 100644 --- a/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json +++ b/.homeycompose/flow/conditions/current_price_among_x_lowest_next_y_hours.json @@ -19,7 +19,7 @@ "name": "num_hours", "type": "number", "min": 1, - "max": 23, + "max": 35, "step": 1, "title": { "en": "Low hours" @@ -32,7 +32,7 @@ "name": "next_hours", "type": "number", "min": 1, - "max": 36, + "max": 35, "step": 1, "title": { "en": "Hours"