mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Make sure logs after upload works when using explicit OTA. (#42)
This commit is contained in:
		
				
					committed by
					
						 Otto Winter
						Otto Winter
					
				
			
			
				
	
			
			
			
						parent
						
							e063f2aaea
						
					
				
				
					commit
					a04438e924
				
			| @@ -222,7 +222,8 @@ def upload_program(config, args, port): | ||||
|  | ||||
|  | ||||
| def show_logs(config, args, port, escape=False): | ||||
|     if port != 'OTA': | ||||
|     serial_port = port.startswith('/') or port.startswith('COM') | ||||
|     if port != 'OTA' and serial_port: | ||||
|         run_miniterm(config, port, escape=escape) | ||||
|         return 0 | ||||
|     return mqtt.show_logs(config, args.topic, args.username, args.password, args.client_id, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user