diff --git a/custom_components/babybuddy/__init__.py b/custom_components/babybuddy/__init__.py index 93d9b18..49736df 100644 --- a/custom_components/babybuddy/__init__.py +++ b/custom_components/babybuddy/__init__.py @@ -110,6 +110,7 @@ class BabyBuddyCoordinator(DataUpdateCoordinator): def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None: """Initialize the BabyBuddyData object.""" + _LOGGER.debug("Initializing BabyBuddyCoordinator") super().__init__( hass, _LOGGER, diff --git a/custom_components/babybuddy/client.py b/custom_components/babybuddy/client.py index 9d85c0a..80ca8e6 100644 --- a/custom_components/babybuddy/client.py +++ b/custom_components/babybuddy/client.py @@ -25,6 +25,7 @@ def __init__( self, host: str, port: int, path: str, api_key: str, session: ClientSession ) -> None: """Initialize the client.""" + _LOGGER.debug("Initializing BabyBuddyClient") self.headers = {"Authorization": f"Token {api_key}"} _LOGGER.debug( f"Client API Token, obfuscated: {api_key[:4]}{'.' * (len(api_key)-8)}{api_key[-4:]}"