mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
Better error message
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user