From 8238a8e92ceda933a791e36d04a17f79cca27114 Mon Sep 17 00:00:00 2001 From: Laurent Martin Date: Tue, 20 Dec 2022 10:12:20 +0100 Subject: [PATCH] give default value for provider for compatibility with former version give default value for provider for compatibility with former version (used in Home Assistant) --- pysuez/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysuez/client.py b/pysuez/client.py index 9273e69..316f334 100644 --- a/pysuez/client.py +++ b/pysuez/client.py @@ -16,7 +16,7 @@ class PySuezError(Exception): class SuezClient(): """Global variables.""" - def __init__(self, username, password, counter_id, provider, session=None, timeout=None): + def __init__(self, username, password, counter_id, provider=None, session=None, timeout=None): """Initialize the client object.""" self._username = username self._password = password