From 2ffac98977e22da566a8ad355c3d068a362473fe Mon Sep 17 00:00:00 2001 From: jbouwh Date: Sun, 26 May 2024 21:44:09 +0000 Subject: [PATCH] Adjust logger statement --- homeassistant/components/mqtt/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/mqtt/discovery.py b/homeassistant/components/mqtt/discovery.py index 4be1a988560..1609163d9ef 100644 --- a/homeassistant/components/mqtt/discovery.py +++ b/homeassistant/components/mqtt/discovery.py @@ -94,7 +94,7 @@ def async_log_discovery_origin_info( """Log information about the discovery and origin.""" # We only log origin info once per device discovery if discovery_payload.device_discovery: - _LOGGER.info(message) + _LOGGER.log(level, message) return if CONF_ORIGIN not in discovery_payload: _LOGGER.log(level, message)