mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
76_SMAPortal: contrib 2.3.0
git-svn-id: https://svn.fhem.de/fhem/trunk@19602 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cf6b368dc6
commit
f1502d92bc
@ -341,7 +341,11 @@ sub Set($@) {
|
||||
|
||||
# eine mögliche Startfarbe steht beim installiertem f18 Style direkt zur Verfügung
|
||||
# ohne vorhanden f18 Style bestimmt später tr.odd aus der Style css die Anfangsfarbe
|
||||
my $color = %{json2nameValue(AttrVal('WEB','styleData',undef))}{'f18_cols.header'};
|
||||
my $color;
|
||||
my $jh = json2nameValue(AttrVal('WEB','styleData',''));
|
||||
if($jh && ref $jh eq "HASH") {
|
||||
$color = $jh->{'f18_cols.header'};
|
||||
}
|
||||
if (defined($color)) {
|
||||
CommandAttr($hash->{CL},"$htmldev beamColor $color");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user