Update mqtt_publish_temp.py
This commit is contained in:
		
							parent
							
								
									66a25e7719
								
							
						
					
					
						commit
						ec80f06840
					
				@ -61,7 +61,6 @@ while True:
 | 
			
		||||
        
 | 
			
		||||
        try:
 | 
			
		||||
            humidity = round(float(humidity), 2)
 | 
			
		||||
            break
 | 
			
		||||
        except ValueError:
 | 
			
		||||
            print("Not able to convert humidity to float: " + humidity)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user