Skip to content

Commit

Permalink
Fix Discover#discover incorrect documentation (#159)
Browse files Browse the repository at this point in the history
The documentation states the timeout defaults to 5 seconds, but in the definition of the method timeout is set to 3
  • Loading branch information
kirichkov authored and rytilahti committed Jan 30, 2019
1 parent df42f59 commit 07b4eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyHS100/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def discover(protocol: TPLinkSmartHomeProtocol = None,
and waits for given timeout for answers from devices.
:param protocol: Protocol implementation to use
:param timeout: How long to wait for responses, defaults to 5
:param timeout: How long to wait for responses, defaults to 3
:param port: port to send broadcast messages, defaults to 9999.
:rtype: dict
:return: Array of json objects {"ip", "port", "sys_info"}
Expand Down

0 comments on commit 07b4eda

Please sign in to comment.