Skip to content

Commit fd836e9

Browse files
committed
Timeout is always provided from the frontend
1 parent 70afb23 commit fd836e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugwise/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ def __init__(
4444
self,
4545
host: str,
4646
password: str,
47+
timeout: float,
4748
websession: aiohttp.ClientSession,
4849
username: str = DEFAULT_USERNAME,
4950
port: int = DEFAULT_PORT,
50-
timeout: float = DEFAULT_LEGACY_TIMEOUT,
5151

5252
) -> None:
5353
"""Set the constructor for this class."""
@@ -62,10 +62,10 @@ def __init__(
6262

6363
self._host = host
6464
self._passwd = password
65-
self._websession = websession
66-
self._user = username
6765
self._port = port
6866
self._timeout = timeout
67+
self._user = username
68+
self._websession = websession
6969

7070
self._cooling_present = False
7171
self._elga = False

0 commit comments

Comments
 (0)