diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm
index 3f340a473..bb5353310 100755
--- a/fhem/FHEM/01_FHEMWEB.pm
+++ b/fhem/FHEM/01_FHEMWEB.pm
@@ -2559,7 +2559,8 @@ FW_devState($$@)
}
$link .= "&room=$room";
}
- $txt = "$txt";
+ $txt = "$txt"
+ if($link !~ m/ noFhemwebLink$/);
}
my $style = AttrVal($d, "devStateStyle", "");
@@ -3199,8 +3200,11 @@ FW_widgetOverride($$)
Note: if the image is referencing an SVG icon, then you can use the
@colorname suffix to color the image. E.g.: