max shower min duration 6 minutes

This commit is contained in:
proddy
2024-06-20 17:13:50 +01:00
parent a861649249
commit 12701b2143

View File

@@ -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'
}
]
}),