diff --git a/fhem/FHEM/31_HUEDevice.pm b/fhem/FHEM/31_HUEDevice.pm index 65dc1c432..812693cd0 100644 --- a/fhem/FHEM/31_HUEDevice.pm +++ b/fhem/FHEM/31_HUEDevice.pm @@ -846,8 +846,8 @@ HUEDevice_Parse($$) if( $hash->{helper}->{devtype} eq 'S' ) { if( $result->{state} ) { - substr( $result->{state}{lastupdated}, 10, 1, ' ' ); if( $result->{state}{lastupdated} ne 'none' ) { + substr( $result->{state}{lastupdated}, 10, 1, ' ' ); if( $result->{state}{buttonevent} && ReadingsTimestamp($name,"state","") ne $result->{state}{lastupdated} ) { readingsBeginUpdate($hash);