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 f2a4756 commit 4a86e11Copy full SHA for 4a86e11
plugwise/helper.py
@@ -170,7 +170,9 @@ def _get_p1_smartmeter_info(self) -> None:
170
return
171
172
appl.available = None
173
- appl.entity_id = self._gateway_id
+ appl.entity_id = self._home_loc_id
174
+ if not self.smile.anna_p1:
175
+ appl.entity_id = self._gateway_id
176
appl.firmware = module_data["firmware_version"]
177
appl.hardware = module_data["hardware_version"]
178
appl.location = self._home_loc_id
0 commit comments