From eb4763646eb8a196d6599170238300d34ec679d1 Mon Sep 17 00:00:00 2001 From: "firstof9@gmail.com" Date: Fri, 21 Jun 2024 14:26:55 -0700 Subject: [PATCH] remove unused argument --- custom_components/mail_and_packages/helpers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/custom_components/mail_and_packages/helpers.py b/custom_components/mail_and_packages/helpers.py index bd11868b..3e311073 100644 --- a/custom_components/mail_and_packages/helpers.py +++ b/custom_components/mail_and_packages/helpers.py @@ -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, @@ -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,