From bd23584073549449135e5d5c920e0d39e1a5cf7f Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sun, 27 Jan 2019 16:38:29 +0100 Subject: [PATCH] Better error message --- esphomeyaml/pins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphomeyaml/pins.py b/esphomeyaml/pins.py index 1de06fa2b5..f16c9fed57 100644 --- a/esphomeyaml/pins.py +++ b/esphomeyaml/pins.py @@ -247,7 +247,7 @@ def _lookup_pin(value): return board_pins[value] if value in base_pins: return base_pins[value] - raise vol.Invalid(u"Can't find internal pin number for {}.".format(value)) + raise vol.Invalid(u"Cannot resolve pin name '{}' for board {}.".format(value, CORE.board)) def _translate_pin(value):