mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-16 04:18:01 +00:00
Use log-level debug for smartdevice query error reporting (#1587)
This commit is contained in:
@@ -378,7 +378,7 @@ class SmartDevice(Device):
|
||||
"""
|
||||
msg_part = "on first update" if first_update else "after first update"
|
||||
|
||||
_LOGGER.error(
|
||||
_LOGGER.debug(
|
||||
"Error querying %s for modules '%s' %s: %s",
|
||||
self.host,
|
||||
module_names,
|
||||
@@ -391,7 +391,7 @@ class SmartDevice(Device):
|
||||
resp = await self.protocol.query({meth: params})
|
||||
responses[meth] = resp[meth]
|
||||
except Exception as iex:
|
||||
_LOGGER.error(
|
||||
_LOGGER.debug(
|
||||
"Error querying %s individually for module query '%s' %s: %s",
|
||||
self.host,
|
||||
meth,
|
||||
|
Reference in New Issue
Block a user