diff --git a/esphomeyaml/config_validation.py b/esphomeyaml/config_validation.py index 3940c64cd5..a19440fefe 100644 --- a/esphomeyaml/config_validation.py +++ b/esphomeyaml/config_validation.py @@ -78,8 +78,8 @@ def string_strict(value): """Strictly only allow strings.""" if isinstance(value, (str, unicode)): return value - raise vol.Invalid("Must be string, did you forget putting quotes " - "around the value?") + raise vol.Invalid("Must be string, got {}. did you forget putting quotes " + "around the value?".format(type(value))) def icon(value):