Amount of rain should be 0.1", not 0.01", a typically immesurable amount of rain.
This commit is contained in:
@@ -166,8 +166,8 @@ function checkWeatherRestriction( adjustmentValue, weather ) {
|
|||||||
if ( californiaRestriction ) {
|
if ( californiaRestriction ) {
|
||||||
|
|
||||||
// If the California watering restriction is in use then prevent watering
|
// 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 more then 0.1" of rain has accumulated in the past 48 hours
|
||||||
if ( weather.precip > 0.01 ) {
|
if ( weather.precip > 0.1 ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user