File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ def _get_locations(self) -> None:
230230
231231 def _appliance_info_finder (self , appliance : Appliance ) -> Appliance :
232232 """Collect info for all appliances found."""
233- match application .type :
233+ match appliance .type :
234234 # No longer needed since we have a Gateway
235235 # case "gateway":
236236 # # Collect gateway entity info
@@ -270,12 +270,12 @@ def _appliance_info_finder(self, appliance: Appliance) -> Appliance:
270270
271271 def _appl_gateway_info (self , appliance : Appliance ) -> Appliance :
272272 """Helper-function for _appliance_info_finder()."""
273- self ._gateway_id = application .id
273+ self ._gateway_id = appliance .id
274274
275275 # Adam: collect the ZigBee MAC address of the Smile
276276 if ADAM in appliance .name :
277277 if (found := appliance .protocols .zig_bee_coordinator ) is not None :
278- application .zigbee_mac = found .mac_address
278+ appliance .zigbee_mac = found .mac_address
279279
280280 # Also, collect regulation_modes and check for cooling, indicating cooling-mode is present
281281 self ._reg_allowed_modes = self ._get_appl_actuator_modes (
You can’t perform that action at this time.
0 commit comments