2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

fhem.pl: fix autocreate if for "input-only" devices (Forum #125292)

git-svn-id: https://svn.fhem.de/fhem/trunk@25521 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-01-20 18:25:19 +00:00
parent 9c3caf29f5
commit 27553293fc

View File

@ -4119,6 +4119,7 @@ Dispatch($$;$$)
my @tfound = &{$modules{$mname}{ParseFn}}($hash,$dmsg);
use strict "refs"; $readingsUpdateDelayTrigger = 0;
$parserMod = $mname;
delete($hash->{".clientArray"});
if(int(@tfound) && defined($tfound[0])) {
if($tfound[0] && $tfound[0] eq "[NEXT]") {
@ -4129,7 +4130,6 @@ Dispatch($$;$$)
last;
}
}
delete($hash->{".clientArray"});
} else {
Log 0, "ERROR: Cannot autoload $mname";