mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
25 lines
496 B
Markdown
25 lines
496 B
Markdown
|
# Deprecated API
|
||
|
|
||
|
```{currentmodule} kasa
|
||
|
```
|
||
|
The page contains the documentation for the deprecated library API that only works with the older kasa devices.
|
||
|
|
||
|
If you want to continue to use the old API for older devices,
|
||
|
you can use the classes in the `iot` module to avoid deprecation warnings.
|
||
|
|
||
|
```py
|
||
|
from kasa.iot import IotDevice, IotBulb, IotPlug, IotDimmer, IotStrip, IotLightStrip
|
||
|
```
|
||
|
|
||
|
|
||
|
```{toctree}
|
||
|
:maxdepth: 2
|
||
|
|
||
|
smartdevice
|
||
|
smartbulb
|
||
|
smartplug
|
||
|
smartdimmer
|
||
|
smartstrip
|
||
|
smartlightstrip
|
||
|
```
|