Commit e46c76c
committed
driver/power/tplink: use IotStrip instead of deprecated SmartStrip
Since python-kasa 0.7.0, the SmartStrip class is deprecated [1].
The docs state [2]:
"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."
Do that.
[1] https://python-kasa.readthedocs.io/en/stable/smartstrip.html
[2] https://python-kasa.readthedocs.io/en/stable/deprecated.html#deprecated-api-reference
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent c3a1c35 commit e46c76c
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments