Füge Aufruf von sendOk() nach erfolgreicher Verbindung zum Bambu-Client hinzu
This commit is contained in:
parent
3ccce10648
commit
e9c06bb4b5
@ -343,6 +343,7 @@ class BambuVirtualPrinter:
|
|||||||
self._bambu_client = bambu_client
|
self._bambu_client = bambu_client
|
||||||
|
|
||||||
self._log.info(f"Bambu connection status: {bambu_client.connected}")
|
self._log.info(f"Bambu connection status: {bambu_client.connected}")
|
||||||
|
self.sendOk()
|
||||||
|
|
||||||
def publish_mqtt(self, topic, payload):
|
def publish_mqtt(self, topic, payload):
|
||||||
"""Publish a message to the MQTT broker"""
|
"""Publish a message to the MQTT broker"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user