mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
- some problems with the control of timers fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@4278 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aee5d48ca5
commit
35a533ed98
@ -154,16 +154,11 @@ sub Heating_Control_Define($$)
|
||||
}
|
||||
|
||||
my $now = time();
|
||||
if (!defined($hash->{PERLTIMEUPDATEMODE})) {
|
||||
RemoveInternalTimer($hash);
|
||||
InternalTimer ($now+1, "$hash->{TYPE}_Update", $hash, 0);
|
||||
} else {
|
||||
;
|
||||
}
|
||||
|
||||
if (!defined($hash->{PERLTIMEUPDATEMODE})) {
|
||||
Heating_Control_UpdatePerlTime($hash);
|
||||
}
|
||||
RemoveInternalTimer($hash);
|
||||
InternalTimer ($now+1, "$hash->{TYPE}_Update", $hash, 0);
|
||||
|
||||
readingsBeginUpdate ($hash);
|
||||
readingsBulkUpdate ($hash, "nextUpdate", strftime("Heute, %H:%M:%S",localtime($now+30)));
|
||||
@ -506,7 +501,6 @@ sub isHeizung($) {
|
||||
} else {
|
||||
$setModifier = "";
|
||||
}
|
||||
|
||||
}
|
||||
return $setModifier;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user