moralmunky / Home-Assistant-Mail-And-Packages

Home Assistant integration providing day of package counts and USPS informed delivery images.
MIT License
642 stars 79 forks source link

ISSUE: DPD Parcel (Germany) not detected #1006

Open SvenJ76 opened 4 days ago

SvenJ76 commented 4 days ago

Describe the bug Obviously the Ttxt in the German DPD Annoucments has changed. I just a mail with the Topic "Zwischen 10:16 und 11:16 Uhr kommt Ihr DPD Paket".

Environment (please complete the following information):

Logs Paste your error logs here.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. Please add emails in plain/text format if possible and applicable.

firstof9 commented 4 days ago

https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/blob/a98a75baaf1d8b0145ecaff3aaaf2596ea11fbf7/custom_components/mail_and_packages/const.py#L453-L471

What changes to these lines are you suggesting?

SvenJ76 commented 4 days ago

Line 466: In my mail I received today, the subject was "Zwischen 10:16 und 11:16 Uhr kommt Ihr DPD Paket". So maybe a wildcard filter would be possible? Or maybe the second part "kommt Ihr DPD Paket" would be sufficient.