Use log-level debug for smartdevice query error reporting (#1587)

This commit is contained in:
Teemu R.
2025-10-12 17:51:52 +02:00
committed by GitHub
parent 1a89a1c1b9
commit c6dd715763

View File

@@ -378,7 +378,7 @@ class SmartDevice(Device):
""" """
msg_part = "on first update" if first_update else "after first update" msg_part = "on first update" if first_update else "after first update"
_LOGGER.error( _LOGGER.debug(
"Error querying %s for modules '%s' %s: %s", "Error querying %s for modules '%s' %s: %s",
self.host, self.host,
module_names, module_names,
@@ -391,7 +391,7 @@ class SmartDevice(Device):
resp = await self.protocol.query({meth: params}) resp = await self.protocol.query({meth: params})
responses[meth] = resp[meth] responses[meth] = resp[meth]
except Exception as iex: except Exception as iex:
_LOGGER.error( _LOGGER.debug(
"Error querying %s individually for module query '%s' %s: %s", "Error querying %s individually for module query '%s' %s: %s",
self.host, self.host,
meth, meth,