From cd6285fa86eddc6bbf83cce2dd631ed8f96a35e9 Mon Sep 17 00:00:00 2001 From: Matthew Oslan Date: Fri, 31 May 2019 22:09:23 -0400 Subject: [PATCH] Don't disable watering when rain is forecasted --- routes/weather.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/weather.ts b/routes/weather.ts index a1f1e04..70450aa 100644 --- a/routes/weather.ts +++ b/routes/weather.ts @@ -282,9 +282,9 @@ export const getWateringData = async function( req: express.Request, res: expres rainDelay = ( adjustmentOptions && adjustmentOptions.hasOwnProperty( "d" ) ) ? adjustmentOptions.d : 24; } else { - + // Temporarily disabled since OWM forecast data is checking if rain is forecasted for 3 hours in the future. // For any other adjustment method, apply a scale of 0 (as the scale will revert when the rain stops) - scale = 0; + // scale = 0; } } }