I had a lot of trouble finding a wiring diagram for this originally when i needed to install it, so i thought i would post my own here in case anyone else needs to do this in the future.
Im NOT an electrician, so please double check before you do this, but this method worked for me...