Forgot one
This commit is contained in:
@@ -64,7 +64,6 @@ class MQTTService:
|
||||
|
||||
def publish(self, topic: str, data: str, qos: int = 0):
|
||||
try:
|
||||
print("Trying to publish...")
|
||||
self.connect()
|
||||
payload = {
|
||||
"timestamp": int(time.time()),
|
||||
|
||||
Reference in New Issue
Block a user