From 0f246f7328170892be6e49dd60283e9ddc8a9697 Mon Sep 17 00:00:00 2001 From: Zac Schellhardt Date: Wed, 13 Oct 2021 11:50:55 -0700 Subject: [PATCH] add logging for teams that cant be found in the API --- custom_components/nfl/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/nfl/__init__.py b/custom_components/nfl/__init__.py index 119a711..5d00fc9 100644 --- a/custom_components/nfl/__init__.py +++ b/custom_components/nfl/__init__.py @@ -252,6 +252,7 @@ async def async_get_state(config) -> dict: values["state"] = 'BYE' values["last_update"] = arrow.now().format(arrow.FORMAT_W3C) if found_bye == False: + _LOGGER.debug("Team not found in active games or bye week list. Have you missed the playoffs?") values["team_abbr"] = None values["team_name"] = None values["team_logo"] = None