return undef on set ... interval
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user