Fix logging in iotdevice when a module is module not supported (#1100)

Debug logger was generating the `repr()` of each module and throwing it away because it had a `%` instead of a `,`
This commit is contained in:
J. Nick Koston 2024-08-23 04:56:33 -05:00 committed by GitHub
parent beb7ca2242
commit b6339be9ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -371,7 +371,7 @@ class IotDevice(Device):
est_response_size = 1024 if "system" in req else 0
for module in self._modules.values():
if not module.is_supported:
_LOGGER.debug("Module %s not supported, skipping" % module)
_LOGGER.debug("Module %s not supported, skipping", module)
continue
est_response_size += module.estimated_query_response_size