1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00

Fix output set_level

This commit is contained in:
Otto Winter 2018-10-24 20:39:20 +02:00
parent 784b76a8a1
commit 662b4ae966
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -85,7 +85,7 @@ def output_turn_off_to_code(config, action_id, arg_type):
CONF_OUTPUT_SET_LEVEL = 'output.set_level'
OUTPUT_SET_LEVEL_ACTION = vol.Schema({
vol.Required(CONF_ID): cv.use_variable_id(None),
vol.Required(CONF_LEVEL): cv.percentage,
vol.Required(CONF_LEVEL): cv.templatable(cv.percentage),
})