Apply removed patch

This commit is contained in:
Otto Winter 2019-05-29 11:36:31 +02:00
parent 96d30e28d4
commit e4bbb56f6b
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

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