diff --git a/homeassistant/components/mobile_app/webhook.py b/homeassistant/components/mobile_app/webhook.py index 01db11a04e3..9d614664a62 100644 --- a/homeassistant/components/mobile_app/webhook.py +++ b/homeassistant/components/mobile_app/webhook.py @@ -184,8 +184,13 @@ async def handle_webhook( _LOGGER.error("Received invalid webhook type: %s", webhook_type) return empty_okay_response() + device_name = config_entry.data[ATTR_DEVICE_NAME] + _LOGGER.debug( - "Received webhook payload for type %s: %s", webhook_type, webhook_payload + "Received webhook payload from %s for type %s: %s", + device_name, + webhook_type, + webhook_payload, ) # Shield so we make sure we finish the webhook, even if sender hangs up.