mirror of
https://github.com/esphome/esphome.git
synced 2025-09-21 04:32:23 +01:00
HassIO -> dashboard
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user