deviceService -> getDevice refactoring (minor)