Check lambdas for return statement (#539)

This commit is contained in:
Otto Winter authored and GitHub committed 2019-05-10 22:13:17 +02:00
1 parent 9dd9e523ed
commit 953d7f6193
15 files changed
+30 -16

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ HOMEASSISTANT_SERVICE_ACTION_SCHEMA = cv.Schema({
cv.string: cv.string,
}),
cv.Optional(CONF_VARIABLES): cv.Schema({
cv.string: cv.lambda_,
cv.string: cv.returning_lambda,
}),
})