Change schema for elevation to int (#2436)

This commit is contained in:
Fabian Affolter authored and Paulus Schoutsen committed 2016-07-05 08:01:59 -07:00
1 parent c5b2df01d9
commit 0f4acb59fe
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ CORE_CONFIG_SCHEMA = vol.Schema({
CONF_NAME: vol.Coerce(str),
CONF_LATITUDE: cv.latitude,
CONF_LONGITUDE: cv.longitude,
CONF_ELEVATION: vol.Coerce(float),
CONF_ELEVATION: vol.Coerce(int),
CONF_TEMPERATURE_UNIT: cv.temperature_unit,
CONF_TIME_ZONE: cv.time_zone,
vol.Required(CONF_CUSTOMIZE,