API Noise logging (#2298)

This commit is contained in:
Otto Winter
2021-09-14 09:53:37 +02:00
committed by Jesse Hills
parent 39a18fb358
commit 233783c76c
6 changed files with 75 additions and 4518 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ def show_logs(config, args, port):
run_miniterm(config, port)
return 0
if get_port_type(port) == "NETWORK" and "api" in config:
from esphome.api.client import run_logs
from esphome.components.api.client import run_logs
return run_logs(config, port)
if get_port_type(port) == "MQTT" and "mqtt" in config: