From 12701b2143542fb3c98429dfccb4593384c462be Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 20 Jun 2024 17:13:50 +0100 Subject: [PATCH] max shower min duration 6 minutes --- interface/src/project/validators.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/src/project/validators.ts b/interface/src/project/validators.ts index c721dca84..c60b0a2da 100644 --- a/interface/src/project/validators.ts +++ b/interface/src/project/validators.ts @@ -238,9 +238,9 @@ export const createSettingsValidator = (settings: Settings) => shower_min_duration: [ { type: 'number', - min: 1, - max: 3000, - message: 'Time must be between 1 and 3000 seconds' + min: 10, + max: 360, + message: 'Time must be between 10 and 360 seconds' } ] }),