diff --git a/FHEM/39_alexa.pm b/FHEM/39_alexa.pm index c5bf871f7..a16b49ab6 100644 --- a/FHEM/39_alexa.pm +++ b/FHEM/39_alexa.pm @@ -169,7 +169,7 @@ alexa_Undefine($$) if( $hash->{PID} ) { $hash->{undefine} = 1; - #$hash->{undefine} = $hash->{CL}; + $hash->{undefine} = $hash->{CL} if( $hash->{CL} ); alexa_stopAlexaFHEM($hash); return "$name will be deleted after alexa-fhem has stopped or after 5 seconds. whatever comes first.";