diff --git a/fhem/FHEM/33_readingsGroup.pm b/fhem/FHEM/33_readingsGroup.pm index cd9db1c95..1745f0e25 100644 --- a/fhem/FHEM/33_readingsGroup.pm +++ b/fhem/FHEM/33_readingsGroup.pm @@ -314,7 +314,7 @@ readingsGroup_2html($) if( $regex && $regex =~ m/^<(.*)>$/ ) { my $txt = $1; my $readings; - if( $txt =~ m/^{(.*)}(#[\w|.*]+)?$/ ) { + if( $txt =~ m/^{(.*)}(@[\w|.*]+)?$/ ) { $txt = "{$1}"; $readings = $2; @@ -592,7 +592,7 @@ readingsGroup_Notify($$) if( $regex && $regex =~ m/^<(.*)>$/ ) { my $txt = $1; my $readings; - if( $txt =~ m/^{(.*)}(#([\w|.*]+))?$/ ) { + if( $txt =~ m/^{(.*)}(@([\w|.*]+))?$/ ) { $txt = "{$1}"; $readings = $3; @@ -750,7 +750,7 @@ readingsGroup_Attr($$$)
attr batteries valueStyle {($VALUE ne "ok")?'style="color:red"':'style="color:green"'}
attr temperatures valueStyle {($DEVICE =~ m/aussen/)?'style="color:green"':'style="color:red"'}
- Note: Only valueStyle, valueFomat, valueIcon and <{...}#reading> are evaluated during longpoll updates
+ Note: Only valueStyle, valueFomat, valueIcon and <{...}@reading> are evaluated during longpoll updates
and valueStyle has to return a non empty style for every possible value. All other perl expressions are
evaluated only once during html creation and will not reflect value updates with longpoll.
Refresh the page to update the dynamic style. For nameStyle the color attribut is not working at the moment,