Skip to content

Commit

Permalink
remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Jun 21, 2024
1 parent 0feb87c commit eb47636
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/mail_and_packages/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,14 +378,12 @@ async def fetch(
)
elif sensor == AMAZON_PACKAGES:
count[sensor] = await get_items(
hass,
account,
ATTR_COUNT,
amazon_fwds,
amazon_days,
)
count[AMAZON_ORDER] = await get_items(
hass,
account,
ATTR_ORDER,
amazon_fwds,
Expand Down Expand Up @@ -1336,7 +1334,6 @@ def amazon_date_format(arrive_date: str, lang: str) -> tuple:


async def get_items(
hass: HomeAssistant,
account: Type[imaplib.IMAP4_SSL],
param: str = None,
fwds: Optional[str] = None,
Expand Down

0 comments on commit eb47636

Please sign in to comment.