Export modules & make sphinx happy (#334)

This commit is contained in:
Teemu R
2022-04-06 01:41:08 +02:00
committed by GitHub
parent d848117384
commit a39cef9a8c
6 changed files with 26 additions and 10 deletions

View File

@@ -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: