File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -133,12 +133,12 @@ async def async_update(self) -> PlugwiseData:
133133 await self .full_xml_update ()
134134 self .get_all_gateway_entities ()
135135 if "heater_id" in self .gw_data :
136- heat_cooler = self .gw_entities [self .gw_data ["heater_id" ]]
137- if (
138- "binary_sensors" in heat_cooler
139- and "cooling_enabled" in heat_cooler ["binary_sensors" ]
140- ):
141- self ._cooling_enabled = heat_cooler ["binary_sensors" ]["cooling_enabled" ]
136+ _ = self .gw_entities [self .gw_data ["heater_id" ]]
137+ # if (
138+ # "binary_sensors" in heat_cooler
139+ # and "cooling_enabled" in heat_cooler["binary_sensors"]
140+ # ):
141+ # self._cooling_enabled = heat_cooler["binary_sensors"]["cooling_enabled"]
142142 except KeyError as err :
143143 raise DataMissingError ("No Plugwise data received" ) from err
144144
You can’t perform that action at this time.
0 commit comments