File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ def __init__(
6565 self ._websession ,
6666 )
6767
68+ self ._cooling_enabled = False
6869 self ._cooling_present = False
6970 self ._elga = False
7071 self ._is_thermostat = False
@@ -130,6 +131,7 @@ async def connect(self) -> Version | None:
130131 self ._password ,
131132 self ._request ,
132133 self ._websession ,
134+ self ._cooling_enabled ,
133135 self ._cooling_present ,
134136 self ._elga ,
135137 self ._is_thermostat ,
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ def __init__(
4949 password : str ,
5050 request : Callable [..., Awaitable [Any ]],
5151 websession : aiohttp .ClientSession ,
52+ _cooling_enabled : bool ,
5253 _cooling_present : bool ,
5354 _elga : bool ,
5455 _is_thermostat : bool ,
@@ -71,7 +72,7 @@ def __init__(
7172 username : str = DEFAULT_USERNAME ,
7273 ) -> None :
7374 """Set the constructor for this class."""
74- self ._cooling_enabled = False
75+ self ._cooling_enabled = _cooling_enabled
7576 self ._cooling_present = _cooling_present
7677 self ._elga = _elga
7778 self ._heater_id : str
You can’t perform that action at this time.
0 commit comments