Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeloneal authored Jan 23, 2024
1 parent c30e23d commit fe61d75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/octoprint_psucontrol_meross/meross_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ async def get_device_handles(self, dev_ids: Sequence[str]):
]
)
out = []
for device_hanle, (dev_uuid, dev_channel) in zip(devices, uuid_channel_pairs):
if not device_hanle:
for device_handle, (dev_uuid, dev_channel) in zip(devices, uuid_channel_pairs):
if not device_handle:
self._logger.error(f"Device {dev_uuid!r} not found.")
continue
out.append((device_hanle, dev_channel))
out.append((device_handle, dev_channel))
return out

async def set_devices_states(self, dev_ids: Sequence[str], state: bool):
Expand Down

0 comments on commit fe61d75

Please sign in to comment.