diff --git a/fhem/FHEM/66_ECMD.pm b/fhem/FHEM/66_ECMD.pm index bcd035d8e..d38f1b795 100644 --- a/fhem/FHEM/66_ECMD.pm +++ b/fhem/FHEM/66_ECMD.pm @@ -593,7 +593,7 @@ ECMD_Write($$) foreach my $ecmd (@ecmds) { Log 5, "$hash->{NAME} sending $ecmd"; ECMD_SimpleWrite($hash, $ecmd); - $answer= ECMD_ReadAnswer($hash, "'ecmd"); + $answer= ECMD_ReadAnswer($hash, "$ecmd"); push @r, $answer; Log 5, $answer; }