We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8b772d commit f2a4756Copy full SHA for f2a4756
plugwise/helper.py
@@ -183,8 +183,9 @@ def _get_p1_smartmeter_info(self) -> None:
183
appl.zigbee_mac = None
184
185
# Replace the entity_id of the gateway by the smartmeter location_id
186
- self.gw_entities[self._home_loc_id] = self.gw_entities.pop(self._gateway_id)
187
- self._gateway_id = self._home_loc_id
+ if not self.smile.anna_p1:
+ self.gw_entities[self._home_loc_id] = self.gw_entities.pop(self._gateway_id)
188
+ self._gateway_id = self._home_loc_id
189
190
self._create_gw_entities(appl)
191
0 commit comments