diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm index ed49af0e9..03f4c99eb 100755 --- a/fhem/FHEM/71_YAMAHA_AVR.pm +++ b/fhem/FHEM/71_YAMAHA_AVR.pm @@ -478,7 +478,7 @@ YAMAHA_AVR_SendCommand($$;$) $response = CustomGetFileFromURL(0, "http://".$address."/YamahaRemoteControl/ctrl", 10, "".$command, 0, ($hash->{helper}{AVAILABLE} ? $loglevel : 5)); - Log GetLogLevel($name, 5), "YAMAHA_AVR: got response for $name: $response"; + Log GetLogLevel($name, 5), "YAMAHA_AVR: got response for $name: $response" if(defined($response)); unless(defined($response)) {