"""A system wide device which can be defined in the main config."""
import abc
import asyncio

from mpf.core.device import Device


class SystemWideDevice(Device, metaclass=abc.ABCMeta):

    """A system wide device which can be defined in the main config."""

    __slots__ = []

    @asyncio.coroutine
    def device_added_system_wide(self):
        """Add the device system wide."""
        yield from self._initialize()

"""A system wide device which can be defined in the main config."""
import abc
import asyncio

from mpf.core.device import Device


class SystemWideDevice(Device, metaclass=abc.ABCMeta):

    """A system wide device which can be defined in the main config."""

    __slots__ = []

    @asyncio.coroutine
    def device_added_system_wide(self):
        """Add the device system wide."""
        yield from self._initialize()

A system wide device which can be defined in the main config. A system wide device which can be defined in the main config. Add the device system wide.