"""Representation of a WeMo Motion device."""
from .api.long_press import LongPressMixin
from .switch import Switch


class LightSwitch(Switch, LongPressMixin):
    """Representation of a WeMo Motion device."""

    def __repr__(self):
        """Return a string representation of the device."""
        return '<WeMo LightSwitch "{name}">'.format(name=self.name)

    @property
    def device_type(self):
        """Return what kind of WeMo this device is."""
        return "LightSwitch"

"""Representation of a WeMo Motion device."""
from .api.long_press import LongPressMixin
from .switch import Switch


class LightSwitch(Switch, LongPressMixin):
    """Representation of a WeMo Motion device."""

    def __repr__(self):
        """Return a string representation of the device."""
        return '<WeMo LightSwitch "{name}">'.format(name=self.name)

    @property
    def device_type(self):
        """Return what kind of WeMo this device is."""
        return "LightSwitch"

Representation of a WeMo Motion device. Representation of a WeMo Motion device. Return a string representation of the device. Return what kind of WeMo this device is.