70_HYDRAWISE.pm: controlling Hydrawise irrigation

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22838 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
xasher 2020-09-24 07:15:41 +00:00
parent 18d2162a79
commit eafb00c620

View File

@ -786,12 +786,12 @@ sub HYDRAWISE_ReadingsBulkUpdateIfChanged {
readingsBulkUpdate( $hash, $reading, "idle");
readingsEndUpdate($hash, 1);
}
# else if ($reading =~ m/_run_minutes$/)
# {
# readingsBeginUpdate ($hash);
# readingsBulkUpdate( $hash, $reading, "none");
# readingsEndUpdate($hash, 1);
# }
elsif ($reading =~ m/_run_minutes$/)
{
readingsBeginUpdate ($hash);
readingsBulkUpdate( $hash, $reading, "none");
readingsEndUpdate($hash, 1);
}
else
{
readingsBeginUpdate ($hash);