mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
return undef on set ... interval
git-svn-id: https://svn.fhem.de/fhem/trunk@2743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b39aa767f9
commit
8e9ce262bc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user