diff --git a/custom_components/mail_and_packages/const.py b/custom_components/mail_and_packages/const.py index 8f35fa89..e9429935 100644 --- a/custom_components/mail_and_packages/const.py +++ b/custom_components/mail_and_packages/const.py @@ -146,6 +146,7 @@ "USPSInformedDelivery@usps.gov", "USPSInformeddelivery@email.informeddelivery.usps.com", "USPSInformeddelivery@informeddelivery.usps.com", + "USPS Informed Delivery", ], "subject": ["Your Daily Digest"], }, diff --git a/tests/test_helpers.py b/tests/test_helpers.py index 1c5437b9..004dddf1 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -513,6 +513,7 @@ async def test_informed_delivery_emails( assert "USPSInformedDelivery@usps.gov" in caplog.text assert "USPSInformeddelivery@informeddelivery.usps.com" in caplog.text assert "USPSInformeddelivery@email.informeddelivery.usps.com" in caplog.text + assert "USPS Informed Delivery" in caplog.text async def test_get_mails_imageio_error(