Skip to content

Commit 9fdcd19

Browse files
committed
Fix
1 parent 79ed6b7 commit 9fdcd19

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

plugwise/legacy/smile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(
4040
self,
4141
host: str,
4242
password: str,
43-
timeout: float,
43+
timeout: int,
4444
websession: aiohttp.ClientSession,
4545
_is_thermostat: bool,
4646
_on_off_device: bool,
@@ -63,11 +63,11 @@ def __init__(
6363
super().__init__(
6464
host,
6565
password,
66-
websession,
67-
username,
6866
port,
6967
timeout,
70-
)
68+
username,
69+
websession,
70+
)
7171
SmileLegacyData.__init__(self)
7272

7373
self._cooling_present = False

plugwise/smile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(
4646
self,
4747
host: str,
4848
password: str,
49-
timeout: float,
49+
timeout: int,
5050
websession: aiohttp.ClientSession,
5151
_cooling_present: bool,
5252
_elga: bool,
@@ -72,10 +72,10 @@ def __init__(
7272
super().__init__(
7373
host,
7474
password,
75-
websession,
76-
username,
7775
port,
7876
timeout,
77+
username,
78+
websession,
7979
)
8080
SmileData.__init__(self)
8181

0 commit comments

Comments
 (0)