Formatting

This commit is contained in:
Oxan van Leeuwen 2021-11-30 15:49:32 +01:00 committed by GitHub
parent 45af72e84d
commit 7e20aeb9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -234,9 +234,9 @@ def _validate(config):
raise cv.Invalid(
"Must specify use_address when using multiple static IP addresses."
)
elif len(ips) == 1:
if len(ips) == 1:
use_address = ips[0]
config[CONF_USE_ADDRESS] = use_address
return config