00_FBAHAHTTP.pm: Add some code for the FBAHA upgrade (Forum #92286)

git-svn-id: https://svn.fhem.de/fhem/trunk@17603 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-10-23 09:10:09 +00:00
parent 04279a7778
commit 590d4bc69f

View File

@ -46,6 +46,9 @@ FBAHAHTTP_Define($$)
CommandAttr(undef, "$d IODev $hash->{NAME}");
CommandDelete(undef, $n) if($defs{$n});
$defs{$d}{IODev} = $hash;
my $oldNr = $defs{$d}{IODev}{NR}; # Forum #92286
$hash->{NR} = $oldNr if($hash->{NR} > $oldNr);
}
}
$hash->{CmdStack} = ();