Skip to content

Commit

Permalink
fix(shippers): Add extra matcher for Canada Post (#733)
Browse files Browse the repository at this point in the history
* Update HACS URL

* fix(shippers): Add extra matcher for Canada Post

* formatting

Co-authored-by: moralmunky <[email protected]>
Co-authored-by: Sven Serlier <[email protected]>
Co-authored-by: Chris <[email protected]>
  • Loading branch information
4 people authored Oct 21, 2022
1 parent 2c1061a commit f82d1c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![GitHub](https://img.shields.io/github/license/moralmunky/Home-Assistant-Mail-And-Packages)
![GitHub Repo stars](https://img.shields.io/github/stars/moralmunky/Home-Assistant-Mail-And-Packages)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/moralmunky/Home-Assistant-Mail-And-Packages)
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs)
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/hacs/integration)
![Pytest](https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/workflows/Pytest/badge.svg?branch=master)
![CodeQL](https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/workflows/CodeQL/badge.svg?branch=master)
![Validate with hassfest](https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/workflows/Validate%20with%20hassfest/badge.svg?branch=master)
Expand Down
5 changes: 4 additions & 1 deletion custom_components/mail_and_packages/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@
"fedex_tracking": {"pattern": ["\\d{12,20}"]},
# Canada Post
"capost_delivered": {
"email": ["[email protected]"],
"email": [
"[email protected]",
"donotreply-nepasrepondre@notifications.canadapost-postescanada.ca",
],
"subject": [
"Delivery Notification",
],
Expand Down

0 comments on commit f82d1c9

Please sign in to comment.