Parse CSV file

I need to create automation to find match from my calendar and csv file.
So I need to create sensor to parse data from csv file.

I use file sensor but that can parse only the last file row.

- platform: file
  name: Contacts
  file_path: www/contacts.csv
  value_template: "{{ value.split(',')[1] }}"

How can I do matching some value from calendar and all rows from CSV file of specific column?