mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
Better error message
This commit is contained in:
parent
6d6876ca39
commit
bd23584073
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue