File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ def __init__(
6363
6464 self ._cooling_present = False
6565 self ._elga = False
66+ self ._gateway_id : str = ""
6667 self ._is_thermostat = False
6768 self ._last_active : dict [str , str | None ] = {}
6869 self ._loc_data : dict [str , ThermoLoc ] = {}
@@ -72,7 +73,6 @@ def __init__(
7273 self ._smile_api : SmileAPI | SmileLegacyAPI
7374 self ._stretch_v2 = False
7475 self ._target_smile : str = NONE
75- self ._gateway_id : str = ""
7676 self .smile_fw_version : Version | None = None
7777 self .smile_hostname : str = NONE
7878 self .smile_hw_version : str | None = None
@@ -129,13 +129,13 @@ async def connect(self) -> Version | None:
129129 self ._request ,
130130 self ._cooling_present ,
131131 self ._elga ,
132+ self ._gateway_id ,
132133 self ._is_thermostat ,
133134 self ._last_active ,
134135 self ._loc_data ,
135136 self ._on_off_device ,
136137 self ._opentherm_device ,
137138 self ._schedule_old_states ,
138- self ._gateway_id ,
139139 self .smile_fw_version ,
140140 self .smile_hostname ,
141141 self .smile_hw_version ,
Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ def __init__(
9898 request : Callable [..., Awaitable [Any ]],
9999 _cooling_present : bool ,
100100 _elga : bool ,
101+ _gateway_id : str ,
101102 _is_thermostat : bool ,
102103 _last_active : dict [str , str | None ],
103104 _loc_data : dict [str , ThermoLoc ],
104105 _on_off_device : bool ,
105106 _opentherm_device : bool ,
106107 _schedule_old_states : dict [str , dict [str , str ]],
107- gateway_id : str ,
108108 smile_fw_version : Version | None ,
109109 smile_hostname : str | None ,
110110 smile_hw_version : str | None ,
@@ -126,7 +126,7 @@ def __init__(
126126 self ._on_off_device = _on_off_device
127127 self ._opentherm_device = _opentherm_device
128128 self ._schedule_old_states = _schedule_old_states
129- self .gateway_id = gateway_id
129+ self .gateway_id = _gateway_id
130130 self .request = request
131131 self .smile_fw_version = smile_fw_version
132132 self .smile_hostname = smile_hostname
You can’t perform that action at this time.
0 commit comments