Keep a very, very, light misting hose on all the time, facing away from the window and the house. Just so Lucifer won't want to come near the window, or house area.
Or shoot a water gun at it, pet owners do that to train their animals off furniture.
Or put chili pepper powder on the ground under the window, one sniff and away goes that nasty trouble maker.