Fix netatmo sensor warning from invalid Voluptuous default (#12933)

pull/12795/merge
Anders Melchiorsen 2018-03-06 04:45:40 +01:00 committed by Paulus Schoutsen
parent 5063464d5e
commit 205e83a6d5
1 changed files with 1 additions and 3 deletions

View File

@ -18,8 +18,6 @@ import homeassistant.helpers.config_validation as cv
_LOGGER = logging.getLogger(__name__)
ATTR_MODULE = 'modules'
CONF_MODULES = 'modules'
CONF_STATION = 'station'
@ -54,7 +52,7 @@ SENSOR_TYPES = {
}
MODULE_SCHEMA = vol.Schema({
vol.Required(cv.string, default=[]):
vol.Required(cv.string):
vol.All(cv.ensure_list, [vol.In(SENSOR_TYPES)]),
})