From 4b5641924c80120e88220bdfcd81e28d17a62994 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 1 Mar 2019 08:59:38 +0000 Subject: [PATCH] 01_FHEMWEB.pm:warnings caused by LightScene calling FHEMWEB early (Forum #97954) git-svn-id: https://svn.fhem.de/fhem/trunk@18764 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/01_FHEMWEB.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index 78605b022..f95eeba33 100644 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -3145,12 +3145,14 @@ FW_directNotify($@) # Notify without the event overhead (Forum #31293) ################### # Compute the state (==second) column +# return ($allSets, $cmdList, $txt); sub FW_devState($$@) { my ($d, $rf, $extPage) = @_; my ($hasOnOff, $link); + return ("","","") if(!$FW_wname); my $cmdList = AttrVal($d, "webCmd", ""); my $allSets = FW_widgetOverride($d, getAllSets($d, $FW_chash));