Secret and Include directives in confg (#4)

This commit is contained in:
Otto Winter
2018-04-10 20:18:02 +02:00
committed by GitHub
parent 58e1b8454d
commit 34605f19ee
3 changed files with 111 additions and 2 deletions
-1
View File
@@ -150,7 +150,6 @@ def only_on(platforms):
platforms = [platforms]
def validator_(obj):
print(obj)
if ESP_PLATFORM not in platforms:
raise vol.Invalid(u"This feature is only available on {}".format(platforms))
return obj