Home-Assistant-Mail-And-Packages: ISSUE: DHL not working in Germany

Environment:

  • Home Assistant version: 2025.1.4
  • Mail and packages 0.4.2

Describe the bug I use the integration for about three weeks now. The integration didn’t inform me about any DHL deliveries since then, although I got several packages and I also got informed by mail before. I got information for other mail services, so that the integration itself is working. I am not a coder but had a look into the code today. I think the reason is, that subject lines from DHL Germany are mostly not included in the code. I tried to give you a complete list below:

Notification that the package is on its way: Ihre (name of the shipper) Sendung ist unterwegs

Notification that a package will be delayed: Es tut uns leid - Ihre (name of the shipper) Sendung verspätet sich

Delivery notification (for the same day): Ihre (name of the shipper) Sendung kommt heute

Delevery notification for the same day with live-tracking Ihre (name of shipper) Sendung kommt heute - Jetzt Live verfolgen... 🎄⭐ Ihre (name of shipper) Sendung kommt heute - Jetzt Live verfolgen... (Christmas edition)

After delivering: Ihre (Name of Shipper) Sendung liegt am gewünschten Ablageort

If the package went back to shipper: Ihre (name of shipper) Sendung wird zurückgesendet

If a package is on its way to the next mail station instead of recipient because of some problems Ihre (name of shipper) Sendung befindet sich auf dem Weg in eine Filiale

If a package is expected to pick up from next mail station because of some problems Ihre (name of shipper) Sendung liegt zur Abholung bereit Ihre (name of shipper) Sendung liegt nur noch (digit of the number of days left for picking up) Tage in der Filiale

About this issue

Most upvoted comments

You can edit the consts.py as you see fit, it’ll just be overwritten on updates.