u
This commit is contained in:
		
							parent
							
								
									514679a801
								
							
						
					
					
						commit
						db57939ad4
					
				@ -19,9 +19,7 @@ logging.basicConfig(level=logging.DEBUG)
 | 
			
		||||
Connected = False
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def connect_mqtt() -> mqtt_client:
 | 
			
		||||
    def on_connect(client, userdata, flags, rc):
 | 
			
		||||
def on_connect(client, userdata, flags, rc):
 | 
			
		||||
    if rc == 0:
 | 
			
		||||
        print("Connected to MQTT Broker!")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user