From 662b4ae966213469ec020cc1296e7a86b7c85396 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 24 Oct 2018 20:39:20 +0200 Subject: [PATCH] Fix output set_level --- esphomeyaml/components/output/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphomeyaml/components/output/__init__.py b/esphomeyaml/components/output/__init__.py index 9fd9d6d21a..722d83f474 100644 --- a/esphomeyaml/components/output/__init__.py +++ b/esphomeyaml/components/output/__init__.py @@ -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), })