Skip to content

Commit

Permalink
Allow negative elevation in yr config
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielhiversen authored and balloob committed Apr 12, 2016
1 parent 5b8a2b0 commit cd80e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/yr.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
[vol.In(SENSOR_TYPES.keys())],
vol.Optional(CONF_LATITUDE): cv.latitude,
vol.Optional(CONF_LONGITUDE): cv.longitude,
vol.Optional(CONF_ELEVATION): cv.positive_int,
vol.Optional(CONF_ELEVATION): vol.Coerce(int),
})


Expand Down

0 comments on commit cd80e41

Please sign in to comment.