1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-21 04:32:23 +01:00

HassIO -> dashboard

This commit is contained in:
Otto Winter
2018-05-27 14:15:24 +02:00
parent 2e7d8540fb
commit 93d962dd43
15 changed files with 79 additions and 57 deletions

View File

@@ -18,7 +18,7 @@ def validate_voltage(values):
value = cv.string(value)
if not value.endswith('V'):
value += 'V'
return cv.one_of(values)(value)
return cv.one_of(*values)(value)
return validator