From 3c95c7d8009b990513466bd8b2d82997175ebdc0 Mon Sep 17 00:00:00 2001 From: glbailey <99434340+glbailey@users.noreply.github.com> Date: Sun, 1 Dec 2024 20:12:52 -0700 Subject: [PATCH] fix: Update Intelcom Shipper (#1024) * Update Intelcom Shipper Intelcom changed its name to Dragonfly and updated email notifications. * Update const.py --- custom_components/mail_and_packages/const.py | 26 +++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/custom_components/mail_and_packages/const.py b/custom_components/mail_and_packages/const.py index 91f11df7..6d38de59 100644 --- a/custom_components/mail_and_packages/const.py +++ b/custom_components/mail_and_packages/const.py @@ -575,23 +575,41 @@ "purolator_tracking": {"pattern": ["\\d{12,15}"]}, # Intelcom "intelcom_delivered": { - "email": ["notifications@intelcom.ca"], + "email": [ + "notifications@intelcom.ca", + "notifications@dragonflyshipping.ca", + "notifications@dragonflyshipping.com", + ], "subject": [ "Your order has been delivered!", + "Your package has been delivered", + "Hooray! Your package is here", "Votre commande a été livrée!", "Votre colis a été livré!", ], }, "intelcom_delivering": { - "email": ["notifications@intelcom.ca"], + "email": [ + "notifications@intelcom.ca", + "notifications@dragonflyshipping.ca", + "notifications@dragonflyshipping.com", + ], "subject": [ "Your package is on the way!", + "Your package is on its way", "Votre colis est en chemin!", ], }, "intelcom_packages": { - "email": ["notifications@intelcom.ca"], - "subject": ["Your package has been received!"], + "email": [ + "notifications@intelcom.ca", + "notifications@dragonflyshipping.ca", + "notifications@dragonflyshipping.com", + ], + "subject": [ + "Your package has been received!", + "We've received your package", + ], }, "intelcom_tracking": {"pattern": ["INTLCMD[0-9]{9}"]}, # Walmart