From f2edb2fb3c81256e0c29ac21dd61c7acc550f099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Tue, 23 May 2023 19:26:30 +0200 Subject: [PATCH] Update Matter_HTTP_remote.be (#18719) Fix log message for MTR HTTP sync/async request --- lib/libesp32/berry_matter/src/embedded/Matter_HTTP_remote.be | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_HTTP_remote.be b/lib/libesp32/berry_matter/src/embedded/Matter_HTTP_remote.be index 1c3410995..0106ead33 100644 --- a/lib/libesp32/berry_matter/src/embedded/Matter_HTTP_remote.be +++ b/lib/libesp32/berry_matter/src/embedded/Matter_HTTP_remote.be @@ -43,7 +43,7 @@ class Matter_HTTP_remote : Matter_HTTP_async # returns nil if no network def begin(cmd) import string - tasmota.log(string.format("MTR: HTTP async request 'http://%s:%i/%s'", self.addr, self.port, cmd), 3) + tasmota.log(string.format("MTR: HTTP async request 'http://%s:%i%s'", self.addr, self.port, cmd), 3) return super(self).begin(cmd) end @@ -56,7 +56,7 @@ class Matter_HTTP_remote : Matter_HTTP_async # returns the payload as string def begin_sync(cmd, timeout) import string - tasmota.log(string.format("MTR: HTTP sync request 'http://%s:%i/%s'", self.addr, self.port, cmd), 3) + tasmota.log(string.format("MTR: HTTP sync request 'http://%s:%i%s'", self.addr, self.port, cmd), 3) return super(self).begin_sync(cmd, timeout) end