Hot temperatures can stop you from getting restful sleep.