Skip to content

Commit

Permalink
VaccumInterface published as symbol available for the "interface" pac…
Browse files Browse the repository at this point in the history
…kage
  • Loading branch information
2pirko committed Apr 25, 2022
1 parent c5ad8c8 commit 1ac8138
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion miio/integrations/vacuum/dreame/dreamevacuum_miot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from miio.click_common import command, format_output
from miio.exceptions import DeviceException
from miio.interfaces.vacuuminterface import VacuumInterface
from miio.interfaces import VacuumInterface
from miio.miot_device import DeviceStatus as DeviceStatusContainer
from miio.miot_device import MiotDevice, MiotMapping

Expand Down
2 changes: 1 addition & 1 deletion miio/integrations/vacuum/mijia/g1vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import click

from miio.click_common import EnumType, command, format_output
from miio.interfaces.vacuuminterface import VacuumInterface
from miio.interfaces import VacuumInterface
from miio.miot_device import DeviceStatus, MiotDevice

_LOGGER = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion miio/integrations/vacuum/roborock/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
)
from miio.device import Device, DeviceInfo
from miio.exceptions import DeviceException, DeviceInfoUnavailableException
from miio.interfaces.vacuuminterface import VacuumInterface
from miio.interfaces import VacuumInterface

from .vacuumcontainers import (
CarpetModeStatus,
Expand Down
2 changes: 1 addition & 1 deletion miio/integrations/vacuum/roidmi/roidmivacuum_miot.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from miio.click_common import EnumType, command
from miio.integrations.vacuum.roborock.vacuumcontainers import DNDStatus
from miio.interfaces.vacuuminterface import VacuumInterface
from miio.interfaces import VacuumInterface
from miio.miot_device import DeviceStatus, MiotDevice, MiotMapping

_LOGGER = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion miio/integrations/vacuum/viomi/viomivacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
ConsumableStatus,
DNDStatus,
)
from miio.interfaces.vacuuminterface import VacuumInterface
from miio.interfaces import VacuumInterface
from miio.utils import pretty_seconds

_LOGGER = logging.getLogger(__name__)
Expand Down
5 changes: 5 additions & 0 deletions miio/interfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Interfaces API."""

from .vacuuminterface import VacuumInterface

__all__ = ["VacuumInterface"]

0 comments on commit 1ac8138

Please sign in to comment.