From 27553293fc48ba94b9a2f09e2e7babdb56292dd3 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 20 Jan 2022 18:25:19 +0000 Subject: [PATCH] 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 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 7ab850d5f..21c946f33 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -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";