1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-12 16:22:22 +01:00
This commit is contained in:
Otto Winter
2019-04-22 22:14:30 +02:00
parent 8e75980ebd
commit c7609ba5e7
2 changed files with 5 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ def validate_automation(extra_schema=None, extra_validators=None, single=False):
except cv.Invalid as err2:
if u'Unable to find action' in str(err):
raise err2
raise cv.MultipleInvalid([err, err2])
raise cv.MultipleInvalid([err, err2])
elif isinstance(value, dict):
if CONF_THEN in value:
return [schema(value)]