2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

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
This commit is contained in:
rudolfkoenig 2019-03-01 08:59:38 +00:00
parent 449f54c6cf
commit 4b5641924c

View File

@ -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));