Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information