diff --git a/sense_energy/sense_link.py b/sense_energy/sense_link.py index c0fe1ce..a1048aa 100644 --- a/sense_energy/sense_link.py +++ b/sense_energy/sense_link.py @@ -37,7 +37,7 @@ def datagram_received(self, data, addr): logging.debug("Ignoring non-empty/non-Sense UDP request") return - logging.debug("Broadcast received from: %s: %s", addr, json_data) + logging.debug(f"Broadcast received from {addr}: {json_data}") # Build and send responses for plug in self._devices(): @@ -57,7 +57,7 @@ def datagram_received(self, data, addr): # Do not send response, but log for debugging logging.debug(f"SENSE_RESPONSE disabled, response content: {response}") else: - logging.info(f"Unexpected/unhandled message: {json_data}") + logging.debug(f"Ignoring non-emeter JSON from {addr}: {json_data}") # Appears to not be JSON except ValueError: