Both occupancy and vacancy sensors turn lights off automatically when a room isn’t occupied. These sensors work differently; but, are perfect for energy savings.