mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Rename smartcamera to smartcam (#1300)
This commit is contained in:
@@ -60,7 +60,7 @@ if TYPE_CHECKING:
|
||||
from .device import Device
|
||||
from .iot import modules as iot
|
||||
from .smart import modules as smart
|
||||
from .smartcamera import modules as smartcamera
|
||||
from .smartcam import modules as smartcam
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@@ -139,8 +139,8 @@ class Module(ABC):
|
||||
)
|
||||
TriggerLogs: Final[ModuleName[smart.TriggerLogs]] = ModuleName("TriggerLogs")
|
||||
|
||||
# SMARTCAMERA only modules
|
||||
Camera: Final[ModuleName[smartcamera.Camera]] = ModuleName("Camera")
|
||||
# SMARTCAM only modules
|
||||
Camera: Final[ModuleName[smartcam.Camera]] = ModuleName("Camera")
|
||||
|
||||
def __init__(self, device: Device, module: str) -> None:
|
||||
self._device = device
|
||||
|
Reference in New Issue
Block a user