diff --git a/roombapy/remote_client.py b/roombapy/remote_client.py index e2cf078..0aacfc0 100644 --- a/roombapy/remote_client.py +++ b/roombapy/remote_client.py @@ -92,12 +92,12 @@ def connect(self) -> bool: try: self._open_mqtt_connection() except Exception: - self.log.exception("Can't connect to %s", self.address) + self.log.debug("Can't connect to %s", self.address) else: return True attempt += 1 - self.log.error("Unable to connect to %s", self.address) + self.log.debug("Unable to connect to %s", self.address) return False def disconnect(self) -> None: diff --git a/roombapy/roomba.py b/roombapy/roomba.py index c6a7126..d725b81 100644 --- a/roombapy/roomba.py +++ b/roombapy/roomba.py @@ -165,7 +165,7 @@ def periodic_connection(self) -> None: except RoombaConnectionError as error: self.periodic_connection_running = False self.on_disconnect(MQTT_ERROR_MESSAGES[7]) - self.log.warning("Periodic connection lost due to %s", error) + self.log.debug("Periodic connection lost due to %s", error) return time.sleep(self.delay)