diff --git a/fhem/FHEM/31_LightScene.pm b/fhem/FHEM/31_LightScene.pm index 2389147e0..9bef554c7 100644 --- a/fhem/FHEM/31_LightScene.pm +++ b/fhem/FHEM/31_LightScene.pm @@ -269,10 +269,17 @@ LightScene_Notify($$) my $reading = shift @parts; my $value = join(": ", @parts); - next if( $value ne "" ); + #see: https://forum.fhem.de/index.php/topic,33223.msg895357.html#msg895357 + #next if( $value ne "" ); + #$reading = "state"; + #$value = $s; - $reading = "state"; - $value = $s; + $reading = "" if( !defined($reading) ); + $value = "" if( !defined($value) ); + if( $value eq "" ) { + $reading = "state"; + $value = $s; + } if( $hash->{mayBeVisible} || $hash->{followDevices} ) { my $room = AttrVal($name, "room", "");