1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Fix NTC steinhart-hart issue (#564)

This commit is contained in:
Otto Winter
2019-05-28 22:30:51 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

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