Skip to content

Commit

Permalink
fix: add additional amazon email (#1034)
Browse files Browse the repository at this point in the history
* fix: add additional amazon email

* update tests

* update test workflow
  • Loading branch information
firstof9 committed Dec 19, 2024
1 parent 7d289b5 commit b8f1f32
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 55 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
python-version:
# - "3.10"
# - "3.11"
- "3.12"
# - "3.12"
- "3.13"

steps:
- name: 📥 Checkout the repository
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mail_and_packages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import asyncio
import logging
from datetime import timedelta
import os
from datetime import timedelta

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_HOST, CONF_RESOURCES
Expand Down
7 changes: 1 addition & 6 deletions custom_components/mail_and_packages/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@
DataUpdateCoordinator,
)

from .const import (
BINARY_SENSORS,
COORDINATOR,
DOMAIN,
VERSION,
)
from .const import BINARY_SENSORS, COORDINATOR, DOMAIN, VERSION

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/mail_and_packages/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
CONF_AMAZON_FWDS,
CONF_CUSTOM_IMG,
CONF_CUSTOM_IMG_FILE,
CONF_STORAGE,
CONF_DURATION,
CONF_FOLDER,
CONF_GENERATE_MP4,
Expand All @@ -31,6 +30,7 @@
CONF_IMAP_TIMEOUT,
CONF_PATH,
CONF_SCAN_INTERVAL,
CONF_STORAGE,
CONF_VERIFY_SSL,
CONFIG_VER,
DEFAULT_ALLOW_EXTERNAL,
Expand Down
1 change: 1 addition & 0 deletions custom_components/mail_and_packages/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
]
AMAZON_SHIPMENT_TRACKING = [
"shipment-tracking",
"order-update",
"conferma-spedizione",
"confirmar-envio",
"versandbestaetigung",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mail_and_packages/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
CONF_FOLDER,
CONF_GENERATE_MP4,
CONF_IMAP_SECURITY,
CONF_VERIFY_SSL,
CONF_STORAGE,
CONF_VERIFY_SSL,
DEFAULT_AMAZON_DAYS,
OVERLAY,
SENSOR_DATA,
Expand Down
Loading

0 comments on commit b8f1f32

Please sign in to comment.