Merge pull request #53 from OpenSprinkler/Derpthemeus-patch-1

Don't disable watering when rain is forecasted
This commit is contained in:
Ray
2019-05-31 22:18:11 -04:00
committed by GitHub

View File

@@ -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;
}
}
}