From 35078fd52f752db26cdffcb3c827c56564db7ede Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Sun, 14 Jun 2020 21:41:02 -0400 Subject: [PATCH] Add API component to logging error message (#1062) * Add API component to logging error message * lint Co-authored-by: Guillermo Ruffino --- esphome/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/__main__.py b/esphome/__main__.py index 73723dfa00..4059024531 100644 --- a/esphome/__main__.py +++ b/esphome/__main__.py @@ -33,8 +33,8 @@ def get_serial_ports(): def choose_prompt(options): if not options: raise EsphomeError("Found no valid options for upload/logging, please make sure relevant " - "sections (ota, mqtt, ...) are in your configuration and/or the device " - "is plugged in.") + "sections (ota, api, mqtt, ...) are in your configuration and/or the " + "device is plugged in.") if len(options) == 1: return options[0][1]