There’s free parking at the airport where you can get the tram into the centre. There’s also a premier inn at Edinburgh Park, which is on the tram journey in. Not sure of prices or if the car park allows overnight parking, but I’m guessing the premier inn does. A day ticket on the tram / buses...