mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-11-25 18:58:20 +00:00
Add P300 fixture (#717)
* Add P300 fixture * fixture after update * Add tests for p300
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""Package for supporting tapo-branded and newer kasa devices."""
|
||||
from .childdevice import ChildDevice
|
||||
from .tapobulb import TapoBulb
|
||||
from .tapodevice import TapoDevice
|
||||
from .tapoplug import TapoPlug
|
||||
|
||||
__all__ = ["TapoDevice", "TapoPlug", "TapoBulb"]
|
||||
__all__ = ["TapoDevice", "TapoPlug", "TapoBulb", "ChildDevice"]
|
||||
|
||||
@@ -35,7 +35,7 @@ class ChildDevice(TapoDevice):
|
||||
return child
|
||||
|
||||
raise SmartDeviceException(
|
||||
f"Unable to find child device with position {self._id}"
|
||||
f"Unable to find child device with id {self._id}"
|
||||
)
|
||||
|
||||
self._last_update = self._sys_info = self._info = _get_child_info()
|
||||
|
||||
Reference in New Issue
Block a user