Skip to content

Commit

Permalink
Updated scan comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Sep 13, 2020
1 parent 0b01381 commit 335be4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tinytuya/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,13 +759,13 @@ def appenddevice(newdevice, devices):

# Scan function shortcut
def scan(maxretry = MAXCOUNT):
"""Sans your network for smart plug devices with output to stdout
"""Scans your network for Tuya devices with output to stdout
"""
d = deviceScan(True,maxretry)

# Scan function
def deviceScan(verbose = False,maxretry = MAXCOUNT):
"""Scans your network for smart plug devices
"""Scans your network for Tuya devices and returns dictionary of devices discovered
devices = tinytuya.deviceScan(verbose)
Parameters:
Expand Down

0 comments on commit 335be4b

Please sign in to comment.