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:
parent
9c3caf29f5
commit
27553293fc
@ -4119,6 +4119,7 @@ Dispatch($$;$$)
|
|||||||
my @tfound = &{$modules{$mname}{ParseFn}}($hash,$dmsg);
|
my @tfound = &{$modules{$mname}{ParseFn}}($hash,$dmsg);
|
||||||
use strict "refs"; $readingsUpdateDelayTrigger = 0;
|
use strict "refs"; $readingsUpdateDelayTrigger = 0;
|
||||||
$parserMod = $mname;
|
$parserMod = $mname;
|
||||||
|
delete($hash->{".clientArray"});
|
||||||
|
|
||||||
if(int(@tfound) && defined($tfound[0])) {
|
if(int(@tfound) && defined($tfound[0])) {
|
||||||
if($tfound[0] && $tfound[0] eq "[NEXT]") {
|
if($tfound[0] && $tfound[0] eq "[NEXT]") {
|
||||||
@ -4129,7 +4130,6 @@ Dispatch($$;$$)
|
|||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete($hash->{".clientArray"});
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
Log 0, "ERROR: Cannot autoload $mname";
|
Log 0, "ERROR: Cannot autoload $mname";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user