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

This commit is contained in:
Anders Melchiorsen authored and Paulus Schoutsen committed 2018-03-05 19:45:40 -08:00
1 parent 5063464d5e
commit 205e83a6d5
1 file changed
+1 -3
+1 -3
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)]),
})