1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 07:32:22 +01:00

Apply removed patch

This commit is contained in:
Otto Winter
2019-05-29 11:36:31 +02:00
parent 96d30e28d4
commit e4bbb56f6b

View File

@@ -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('->')