mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Change schema for elevation to int (#2436)
This commit is contained in:
parent
c5b2df01d9
commit
0f4acb59fe
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user