mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Adjust logger statement
This commit is contained in:
@@ -94,7 +94,7 @@ def async_log_discovery_origin_info(
|
|||||||
"""Log information about the discovery and origin."""
|
"""Log information about the discovery and origin."""
|
||||||
# We only log origin info once per device discovery
|
# We only log origin info once per device discovery
|
||||||
if discovery_payload.device_discovery:
|
if discovery_payload.device_discovery:
|
||||||
_LOGGER.info(message)
|
_LOGGER.log(level, message)
|
||||||
return
|
return
|
||||||
if CONF_ORIGIN not in discovery_payload:
|
if CONF_ORIGIN not in discovery_payload:
|
||||||
_LOGGER.log(level, message)
|
_LOGGER.log(level, message)
|
||||||
|
Reference in New Issue
Block a user