mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-11-23 07:01:22 +00:00
Export modules & make sphinx happy (#334)
This commit is contained in:
@@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SmartPlug(SmartDevice):
|
||||
"""Representation of a TP-Link Smart Switch.
|
||||
r"""Representation of a TP-Link Smart Switch.
|
||||
|
||||
To initialize, you have to await :func:`update()` at least once.
|
||||
This will allow accessing the properties using the exposed properties.
|
||||
@@ -17,7 +17,7 @@ class SmartPlug(SmartDevice):
|
||||
All changes to the device are done using awaitable methods,
|
||||
which will not change the cached values, but you must await :func:`update()` separately.
|
||||
|
||||
Errors reported by the device are raised as :class:`SmartDeviceException`s,
|
||||
Errors reported by the device are raised as :class:`SmartDeviceException`\s,
|
||||
and should be handled by the user of the library.
|
||||
|
||||
Examples:
|
||||
|
||||
Reference in New Issue
Block a user