Skip to content
Snippets Groups Projects
Commit 0018d2b3 authored by Robbie Trencheny's avatar Robbie Trencheny
Browse files

Fix flake8 error on zeroconf.py

parent 5d8cd6d4
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,9 @@ def setup(hass, config):
zeroconf_name = "{}.{}".format(hass.config.location_name,
ZEROCONF_TYPE)
requires_api_password = (hass.config.api.api_password is not None)
params = {"version": __version__, "base_url": hass.config.api.base_url,
"requires_api_password": (hass.config.api.api_password is not None)}
"requires_api_password": requires_api_password}
info = ServiceInfo(ZEROCONF_TYPE, zeroconf_name,
socket.inet_aton(hass.config.api.host),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment