From e4bbb56f6b5d3b418cc1e11336fa424112256706 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 29 May 2019 11:36:31 +0200 Subject: [PATCH] Apply removed patch --- esphome/components/ntc/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/ntc/sensor.py b/esphome/components/ntc/sensor.py index db7d7f9b99..a528183ac8 100644 --- a/esphome/components/ntc/sensor.py +++ b/esphome/components/ntc/sensor.py @@ -24,7 +24,7 @@ def validate_calibration_parameter(value): return cv.Schema({ cv.Required(CONF_TEMPERATURE): cv.float_, cv.Required(CONF_VALUE): cv.float_, - }) + })(value) value = cv.string(value) parts = value.split('->')