Skip to content

Commit

Permalink
feat(shipper): add support for BuildingLink (moralmunky#877)
Browse files Browse the repository at this point in the history
* Add support for buildinglink

* Add support for buildinglink

* Add support for buildinglink
  • Loading branch information
raccettura authored Feb 15, 2024
1 parent a3cf468 commit 7dcefe9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions custom_components/mail_and_packages/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,20 @@
"subject": ["delivery is delayed"],
},
"walmart_tracking": {"pattern": ["#[0-9]{7}-[0-9]{7}"]},
# BuildingLink
"buildinglink_delivered": {
"email": ["[email protected]"],
"subject": [
"Your Amazon order has arrived",
"Your USPS delivery has arrived",
"Your UPS delivery has arrived",
"Your FEDEX delivery has arrived",
"You have a package delivery",
"You have a DHL delivery",
"You have an envelope",
],
},
"buildinglink_tracking": {},
# Post NL
"post_nl_delivering": {
"email": ["[email protected]"],
Expand Down Expand Up @@ -992,6 +1006,13 @@
icon="mdi:archive-alert",
key="walmart_exception",
),
# BuildingLink
"buildinglink_delivered": SensorEntityDescription(
name="Mail BuildingLink Delivered",
native_unit_of_measurement="package(s)",
icon="mdi:package-variant-closed",
key="buildinglink_delivered",
),
# Post NL
"post_nl_delivering": SensorEntityDescription(
name="Post NL Delivering",
Expand Down

0 comments on commit 7dcefe9

Please sign in to comment.