The controller in an automated vehicle relies on sensors to collect the information needed for handling traffic situations,and reducing the frequency of using sensors could prolong their lifespans.We present in this paper the application of dynamic sensor activation algorithms in discrete event systems to activate/deactivate sensors for collecting information when it is only necessary to automatically operate headlights based on traffic rules.The framework developed in this paper forms a basis for automatically activating/deactivating sensors for other components in an automated vehicle in the future.