diff --git a/FHEM/33_readingsGroup.pm b/FHEM/33_readingsGroup.pm index 202254d3e..24dee341e 100644 --- a/FHEM/33_readingsGroup.pm +++ b/FHEM/33_readingsGroup.pm @@ -556,7 +556,7 @@ readingsGroup_2html($) $first = 0; next; } else { - if( $regex =~ m/(.*)@(.*)/ ) { + if( $regex && $regex =~ m/(.*)@(.*)/ ) { $regex = $1; $name = $2; if( $name =~ m/^{(.*)}$/ ) {