def __init__(self, mac, name, flip_on_off) -> None: """Initialize the Switchmate.""" # pylint: disable=import-error, no-member, no-value-for-parameter import switchmate self._mac = mac self._name = name self._device = switchmate.Switchmate(mac=mac, flip_on_off=flip_on_off)
def __init__(self, mac, name, flip_on_off) -> None: """Initialize the Switchmate.""" self._mac = mac self._name = name self._device = switchmate.Switchmate(mac=mac, flip_on_off=flip_on_off)