Fix config validation (#4853) (#4854)

pull/4822/head^2
David-Leon Pohl 2016-12-12 02:38:33 +01:00 committed by Paulus Schoutsen
parent df98d5b3c1
commit 48928d1f9e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ COMMAND_SCHEMA = vol.Schema({
vol.Optional(CONF_ID): cv.positive_int,
vol.Optional(CONF_STATE): cv.string,
vol.Optional(CONF_SYSTEMCODE): cv.positive_int,
})
}, extra=vol.ALLOW_EXTRA)
SWITCHES_SCHEMA = vol.Schema({
vol.Required(CONF_ON_CODE): COMMAND_SCHEMA,