mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
59e5073509
Some checks are pending
CI / Perform linting checks (3.13) (push) Waiting to run
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.13) (push) Blocked by required conditions
CodeQL checks / Analyze (python) (push) Waiting to run
Co-authored-by: Teemu R. <tpr@iki.fi>
136 lines
1.8 KiB
Markdown
136 lines
1.8 KiB
Markdown
# API Reference
|
|
|
|
## Discover
|
|
|
|
|
|
```{module} kasa
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: Discover
|
|
:members:
|
|
```
|
|
|
|
## Device
|
|
|
|
% N.B. Credentials clashes with autodoc
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: Device
|
|
:members:
|
|
:undoc-members:
|
|
:exclude-members: Credentials
|
|
```
|
|
|
|
|
|
## Device Config
|
|
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: Credentials
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: DeviceConfig
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: DeviceFamily
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: DeviceConnectionParameters
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: DeviceEncryptionType
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
## Modules and Features
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: Module
|
|
:members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: Feature
|
|
:members:
|
|
:inherited-members:
|
|
:undoc-members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. automodule:: kasa.interfaces
|
|
:members:
|
|
:inherited-members:
|
|
:undoc-members:
|
|
```
|
|
|
|
## Protocols and transports
|
|
|
|
|
|
```{eval-rst}
|
|
.. automodule:: kasa.protocols
|
|
:members:
|
|
:imported-members:
|
|
:undoc-members:
|
|
:exclude-members: SmartErrorCode
|
|
:no-index:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. automodule:: kasa.transports
|
|
:members:
|
|
:imported-members:
|
|
:undoc-members:
|
|
:no-index:
|
|
```
|
|
|
|
|
|
## Errors and exceptions
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: kasa.exceptions.KasaException
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: kasa.exceptions.DeviceError
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: kasa.exceptions.AuthenticationError
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: kasa.exceptions.UnsupportedDeviceError
|
|
:members:
|
|
:undoc-members:
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. autoclass:: kasa.exceptions.TimeoutError
|
|
:members:
|
|
:undoc-members:
|
|
```
|