diff --git a/FHEM/71_YAMAHA_AVR.pm b/FHEM/71_YAMAHA_AVR.pm index 13504e281..97efbe807 100755 --- a/FHEM/71_YAMAHA_AVR.pm +++ b/FHEM/71_YAMAHA_AVR.pm @@ -635,7 +635,7 @@ YAMAHA_AVR_SendCommand($$;$) # In case any URL changes must be made, this part is separated in this function". - $response = CustomGetFileFromURL(0, "http://".$address."/YamahaRemoteControl/ctrl", AttrVal($name, "request-timeout", 4) , "".$command, 0, ($hash->{helper}{AVAILABLE} ? undef : 5)); + $response = GetFileFromURL("http://".$address."/YamahaRemoteControl/ctrl", AttrVal($name, "request-timeout", 4) , "".$command, 0, ($hash->{helper}{AVAILABLE} ? undef : 5)); Log3 $name, 5, "YAMAHA_AVR: got response for $name: $response" if(defined($response)); @@ -817,7 +817,7 @@ sub YAMAHA_AVR_getModel($) } # query the description url which contains all zones - $response = CustomGetFileFromURL(0, "http://".$address.$desc_url, AttrVal($name, "request-timeout", 4), undef, 0, ($hash->{helper}{AVAILABLE} ? undef : 5)); + $response = GetFileFromURL("http://".$address.$desc_url, AttrVal($name, "request-timeout", 4), undef, 0, ($hash->{helper}{AVAILABLE} ? undef : 5)); Log3 $name, 3, "YAMAHA_AVR: could not get unit description from device $name. Please turn on the device or check for correct hostaddress!" if (not defined($response) and defined($hash->{helper}{AVAILABLE}) and $hash->{helper}{AVAILABLE} eq 1);