mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Update Matter_HTTP_remote.be (#18719)
Fix log message for MTR HTTP sync/async request
This commit is contained in:
parent
8969bc66e2
commit
f2edb2fb3c
@ -43,7 +43,7 @@ class Matter_HTTP_remote : Matter_HTTP_async
|
|||||||
# returns nil if no network
|
# returns nil if no network
|
||||||
def begin(cmd)
|
def begin(cmd)
|
||||||
import string
|
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)
|
return super(self).begin(cmd)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ class Matter_HTTP_remote : Matter_HTTP_async
|
|||||||
# returns the payload as string
|
# returns the payload as string
|
||||||
def begin_sync(cmd, timeout)
|
def begin_sync(cmd, timeout)
|
||||||
import string
|
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)
|
return super(self).begin_sync(cmd, timeout)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user