From af78a8b9eed4630a0ec4889280a26403c86be09f Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Sat, 13 Feb 2021 22:55:01 -0800 Subject: [PATCH 1/2] fix: increase delay for refresh and update message With a delay below 10 seconds, it would be a login could be interrupted by the refresh. Increased to a minimum of 10 seconds. --- teslajsonpy/teslaproxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teslajsonpy/teslaproxy.py b/teslajsonpy/teslaproxy.py index 686523a5..cb3b22bb 100644 --- a/teslajsonpy/teslaproxy.py +++ b/teslajsonpy/teslaproxy.py @@ -82,13 +82,13 @@ async def test_url( if resp.content_type == "text/html": text = await resp.text() if "