mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Remove SmartPlug in favor of SmartDevice (#781)
With the move towards autodetecting available features, there is no reason to keep SmartPlug around. kasa.smart.SmartPlug is removed in favor of kasa.smart.SmartDevice which offers the same functionality. Information about auto_off can be accessed using Features of the AutoOffModule on supported devices. Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
This commit is contained in:
@@ -134,7 +134,6 @@ if TYPE_CHECKING:
|
||||
from . import smart
|
||||
|
||||
smart.SmartDevice("127.0.0.1")
|
||||
smart.SmartPlug("127.0.0.1")
|
||||
smart.SmartBulb("127.0.0.1")
|
||||
iot.IotDevice("127.0.0.1")
|
||||
iot.IotPlug("127.0.0.1")
|
||||
|
Reference in New Issue
Block a user