Fitbit flake8 and pylint fixes. Forgot to do it before pushing :(
This commit is contained in:
1 parent
faf5ffe610
commit
39e7942dce
1 file changed
+4
-2
@@ -153,7 +153,8 @@ def request_app_setup(hass, config, add_devices, config_path,
|
||||
else:
|
||||
setup_platform(hass, config, add_devices, discovery_info)
|
||||
|
||||
start_url = "{}{}".format(hass.config.api.base_url, FITBIT_AUTH_CALLBACK_PATH)
|
||||
start_url = "{}{}".format(hass.config.api.base_url,
|
||||
FITBIT_AUTH_CALLBACK_PATH)
|
||||
|
||||
description = """Please create a Fitbit developer app at
|
||||
https://dev.fitbit.com/apps/new.
|
||||
@@ -301,7 +302,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
|
||||
setup_platform(hass, config, add_devices, discovery_info=None)
|
||||
|
||||
hass.http.register_path("GET", FITBIT_AUTH_START, _start_fitbit_auth, require_auth=False)
|
||||
hass.http.register_path("GET", FITBIT_AUTH_START, _start_fitbit_auth,
|
||||
require_auth=False)
|
||||
hass.http.register_path("GET", FITBIT_AUTH_CALLBACK_PATH,
|
||||
_finish_fitbit_auth, require_auth=False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user