Updated to enforce quoted ZIP codes for Pollen (#12934)

pull/12795/merge
Aaron Bach 2018-03-05 20:47:45 -07:00 committed by Paulus Schoutsen
parent 205e83a6d5
commit f054e9ee54
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ RATING_MAPPING = [{
}]
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_ZIP_CODE): cv.string,
vol.Required(CONF_ZIP_CODE): str,
vol.Required(CONF_MONITORED_CONDITIONS):
vol.All(cv.ensure_list, [vol.In(CONDITIONS)]),
})