1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-27 13:13:50 +00:00

Check lambdas for return statement (#539)

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

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,
}),
})