Skip to content

Commit fe97d3c

Browse files
committed
Add comments
1 parent 0ebae7f commit fe97d3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,10 @@ async def connect(self) -> Version:
180180
for appliance in result_dict["domain_objects"]["appliance"]:
181181
module_set = False
182182
appliance, module_set = add_module_to_appliance(appliance, modules)
183+
# Set gateway firmwware_version
183184
if appliance["type"] == "gateway":
184185
appliance["module"]["firmware_version"] = result_dict["domain_objects"]["gateway"]["firmware_version"]
186+
# TODO set zigbee mac(s)
185187
if not module_set:
186188
modules = collect_module_data(result, count=2) # repeat trying with 2nd id
187189
for appliance in result_dict["domain_objects"]["appliance"]:

0 commit comments

Comments
 (0)