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)