Fix sample

This commit is contained in:
Fabian Affolter 2016-10-11 10:02:52 +02:00
parent a8b1546361
commit 3d8fc2c531
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -82,5 +82,5 @@ SENSOR_TYPES = {
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
...
vol.Optional(CONF_MONITORED_VARIABLES, default=[]):
vol.All(ensure_list, [vol.In(SENSOR_TYPES)]),
vol.All(cv.ensure_list, [vol.In(SENSOR_TYPES)]),
```