Thank you for your work, it works wonderfully, but...
It only extracts data from the first page of the PDF.
I get the value using regex but it gives an unknown error, and when applying the {{ value[1] }} template, the same.
With IMAP, when I receive an email with an attached PDF file, I download the attachment using a shell command and a Python script. Then, using your application, I extract the data and create sensors.
My solution was to use another Python script to convert the PDF of 5 pages to a single sheet, and it worked perfectly.
Thank you for your work, it works wonderfully, but...
It only extracts data from the first page of the PDF.
I get the value using regex but it gives an unknown error, and when applying the {{ value[1] }} template, the same.
With IMAP, when I receive an email with an attached PDF file, I download the attachment using a shell command and a Python script. Then, using your application, I extract the data and create sensors.
My solution was to use another Python script to convert the PDF of 5 pages to a single sheet, and it worked perfectly.