1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 05:12:21 +01:00

API Noise logging (#2298)

This commit is contained in:
Otto Winter
2021-09-14 09:53:37 +02:00
committed by GitHub
parent b9767bdcbc
commit 855112dfc3
6 changed files with 75 additions and 4518 deletions

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: