From 0fed03aa68b25c26bc5fe7adb4380b9dfc043530 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 15 Sep 2026 18:12:17 +0200 Subject: [PATCH] Do not log the received Foursquare push secret (#182281) --- homeassistant/components/foursquare/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/foursquare/__init__.py b/homeassistant/components/foursquare/__init__.py index 9e3477109438..a20cb0fda40d 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -102,9 +102,7 @@ class FoursquarePushReceiver(HomeAssistantView): _LOGGER.debug("Received Foursquare push: %s", data) if self.push_secret != secret: - _LOGGER.error( - "Received Foursquare push with invalid push secret: %s", secret - ) + _LOGGER.error("Received Foursquare push with an invalid push secret") return self.json_message("Incorrect secret", HTTPStatus.BAD_REQUEST) request.app[KEY_HASS].bus.async_fire(EVENT_PUSH, data)