return undef on set ... interval

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert
2013-02-16 14:29:23 +00:00
parent 4d842a1c61
commit 1ab6bfbf8c

View File

@@ -581,7 +581,8 @@ OWDevice_Set($@)
} else {
RemoveInternalTimer($hash);
$hash->{fhem}{interval}= $value;
InternalTimer(int(gettimeofday())+$hash->{fhem}{interval}, "OWDevice_UpdateValues", $hash, 0)
InternalTimer(int(gettimeofday())+$hash->{fhem}{interval}, "OWDevice_UpdateValues", $hash, 0);
return undef;
}
} else {
return "Unknown argument $cmdname, choose one of interval " . join(" ", @setters);