mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
e98252ff17
This refactors `Discover.connect_single` by moving device instance construction into a separate device factory module. New `SmartDevice.connect(host, *, port, timeout, credentials, device_type)` class method replaces the functionality of `connect_single`, and also now allows constructing device instances without relying on UDP discovery for type discovery if `device_type` parameter is set. --------- Co-authored-by: Teemu R. <tpr@iki.fi> |
||
---|---|---|
.. | ||
_static | ||
cli.rst | ||
conf.py | ||
design.rst | ||
discover.rst | ||
index.rst | ||
smartbulb.rst | ||
smartdevice.rst | ||
smartdimmer.rst | ||
smartlightstrip.rst | ||
smartplug.rst | ||
smartstrip.rst |