One of the newest smartapps, #15 under convenience, is “lights off with no motion.” This may be what you want.