File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -154,26 +154,13 @@ def _update_for_cooling(self, device: DeviceData) -> None:
154154 sensors ["setpoint_high" ] = temp_dict ["setpoint_high" ]
155155 self ._count += 2
156156
157+
157158 def _get_location_data (self , loc_id : str ) -> DeviceData :
158159 """Helper-function for _all_device_data() and async_update().
159160
160161 Provide device-data, based on Location ID (= loc_id).
161162 """
162163 climate = self .climate_data [loc_id ]
163- # data = self._get_climate_data(loc_id)
164- if ctrl_state := self ._control_state (loc_id ):
165- data ["control_state" ] = ctrl_state
166- self ._count += 1
167-
168- # Thermostat data (presets, temperatures etc)
169- self ._device_data_climate (loc_id , climate , data )
170-
171- def _get_device_data (self , dev_id : str ) -> DeviceData :
172- """Helper-function for _all_device_data() and async_update().
173-
174- Provide device-data, based on appliance_id ()= dev_id).
175- """
176- climate = self .climate_data [loc_id ]
177164 data = self ._get_climate_data (loc_id )
178165 LOGGER .debug ("HOI 2 climate: %s" , data )
179166 if ctrl_state := self ._control_state (loc_id ):
You can’t perform that action at this time.
0 commit comments