From afd4840ea91b57f153f0219cdaaa5a0e1f7d3f71 Mon Sep 17 00:00:00 2001 From: Paul Beckcom <46651681+pbeckcom@users.noreply.github.com> Date: Fri, 3 Apr 2020 09:09:48 -0500 Subject: [PATCH] replaces /states with /lovelace in config script Integration configuration cannot complete as it is currently looking for /states after authentication. Replacing with /lovelace to allow the script to complete after successful authentication with Automatic. --- homeassistant/components/automatic/device_tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index 0fc747ffaa9735..0f48ef6376db85 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -164,7 +164,7 @@ def get(self, request): # pylint: disable=no-self-use """Finish OAuth callback request.""" hass = request.app["hass"] params = request.query - response = web.HTTPFound("/states") + response = web.HTTPFound("/lovelace") if "state" not in params or "code" not in params: if "error" in params: