diff --git a/main.py b/main.py index fd877fb..8af0944 100644 --- a/main.py +++ b/main.py @@ -15,6 +15,7 @@ def main(): assert TOKEN, "Must supply HASS_TOKEN env variable" try: + client = requests.Session() client.headers.update({ "Authorization": f"Bearer {TOKEN}", "Content-Type": "application/json",