diff --git a/fhem/contrib/DS_Starter/76_SMAPortal.pm b/fhem/contrib/DS_Starter/76_SMAPortal.pm
index 0b24bee4f..6c7b1897c 100644
--- a/fhem/contrib/DS_Starter/76_SMAPortal.pm
+++ b/fhem/contrib/DS_Starter/76_SMAPortal.pm
@@ -1575,8 +1575,8 @@ sub PortalAsHtml ($$) {
$legend_txt .= $txt.' '.FW_makeImage($im).' '.$swicon.' ';
} else {
my (undef,$co) = split('\@',$im);
- $co = '#cccccc' if (!$co); # Farbe per default
- $legend_txt .= ''.$txt.' '; # hier auch Umbruch erlauben
+ $co = '#cccccc' if (!$co); # Farbe per default
+ $legend_txt .= ''.$txt.' '.$swicon.' '; # hier auch Umbruch erlauben
}
}
}