blank
This commit is contained in:
@ -888,7 +888,7 @@ sub setState {
|
||||
$nearst_irrigation = ReadingsVal($name, 'scheduling-scheduled_watering_next_start_'.$_, '')
|
||||
if (
|
||||
Time::Piece->strptime( ReadingsVal($name, 'scheduling-scheduled_watering_next_start_'.$_, ''), "%Y-%m-%d %H:%M") < Time::Piece->strptime( $nearst_irrigation, "%Y-%m-%d %H:%M")
|
||||
&& has_scheduling
|
||||
&& $has_scheduling
|
||||
)
|
||||
} # fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user