mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
fhem.pl: fix follow-on-for-timer statefile bug, forum #23096
git-svn-id: https://svn.fhem.de/fhem/trunk@5709 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
17e65c7561
commit
959eb4dfa8
@ -1228,8 +1228,11 @@ WriteStatefile()
|
|||||||
|
|
||||||
foreach my $d (sort keys %defs) {
|
foreach my $d (sort keys %defs) {
|
||||||
next if($defs{$d}{TEMPORARY});
|
next if($defs{$d}{TEMPORARY});
|
||||||
print SFH "define $d $defs{$d}{TYPE} $defs{$d}{DEF}\n"
|
if($defs{$d}{VOLATILE}) {
|
||||||
if($defs{$d}{VOLATILE});
|
my $def = $defs{$d}{DEF};
|
||||||
|
$def =~ s/;/;;/g; # follow-on-for-timer at
|
||||||
|
print SFH "define $d $defs{$d}{TYPE} $def\n";
|
||||||
|
}
|
||||||
|
|
||||||
my $val = $defs{$d}{STATE};
|
my $val = $defs{$d}{STATE};
|
||||||
if(defined($val) &&
|
if(defined($val) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user