mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
parent
ba2e382a0d
commit
0e7c247c0e
@ -24,7 +24,7 @@ WIFI_POWER_SAVE_MODES = {
|
|||||||
|
|
||||||
|
|
||||||
def validate_password(value):
|
def validate_password(value):
|
||||||
value = cv.string(value)
|
value = cv.string_strict(value)
|
||||||
if not value:
|
if not value:
|
||||||
return value
|
return value
|
||||||
if len(value) < 8:
|
if len(value) < 8:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user