move event light commands to attribute class