Merge pull request #15 from shampeon/master

Amount of rain to trigger California rain restrictions should be 0.1", not 0.01"
This commit is contained in:
Samer Albahra
2019-04-28 17:58:01 -06:00
committed by GitHub

View File

@@ -210,8 +210,8 @@ function checkWeatherRestriction( adjustmentValue, weather ) {
if ( californiaRestriction ) {
// If the California watering restriction is in use then prevent watering
// if more then 0.01" of rain has accumulated in the past 48 hours
if ( weather.precip > 0.01 ) {
// if more then 0.1" of rain has accumulated in the past 48 hours
if ( weather.precip > 0.1 ) {
return true;
}
}