From f191c548482446a47ce6ab6b78c9a6306ae650ca Mon Sep 17 00:00:00 2001 From: Oliver <932481+tb-killa@users.noreply.github.com> Date: Sat, 8 Jun 2024 06:51:30 +0200 Subject: [PATCH] fix: add hide_serial for Debug Output (#2279) closes #2255 --- custom_components/alexa_media/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/alexa_media/__init__.py b/custom_components/alexa_media/__init__.py index f31cd168..911078fd 100644 --- a/custom_components/alexa_media/__init__.py +++ b/custom_components/alexa_media/__init__.py @@ -1098,7 +1098,7 @@ async def http2_handler(message_obj): hass.data[DATA_ALEXAMEDIA]["accounts"][email]["excluded"].keys() ) ): - _LOGGER.debug("Discovered new media_player %s", serial) + _LOGGER.debug("Discovered new media_player %s", hide_serial(serial)) ( hass.data[DATA_ALEXAMEDIA]["accounts"][email]["new_devices"] ) = True