1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-17 18:52:19 +01:00

Fix NTC steinhart-hart issue

This commit is contained in:
Otto Winter
2019-05-28 22:27:39 +02:00
parent 928df2dcd1
commit 667ed94e29
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('->')