From 83df90dee4bb63a65c118dbcdb694972c8d1e93e Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 18 Nov 2020 16:02:47 +0000 Subject: [PATCH] fhem.pl: ignore setstate errors at startup (Forum #115934) git-svn-id: https://svn.fhem.de/fhem/trunk@23177 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 fc3606fa7..086297395 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -3108,7 +3108,7 @@ CommandSetstate($$) my @rets; foreach my $sdev (devspec2array($a[0],$cl)) { - if(!defined($defs{$sdev})) { + if(!defined($defs{$sdev}) && $init_done) { # 115934 push @rets, "Please define $sdev first"; next; }